阿里云DDNS如何只对某个域名进行授权子账号呢

目前我使用ddns -docker
由于主账号accessKey权限太大,子账号权限也大,目前限制子账号只能对 目标某个域名进行授权,读写改 域名解析

https://github.com/jeessy2/ddns-go

171067*****758 是你的阿里主账号的ID,在个人详情页面中获取

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"alidns:AddDomainRecord",
"alidns:UpdateDomainRecord",
"alidns:DeleteSubDomainRecords",
"alidns:DeleteDomainRecord",
"alidns:DescribeSubDomainRecords",
"alidns:DescribeDomainRecords",
"alidns:DescribeDomainRecordInfo"
],
"Resource": [
"acs:alidns:*:171067*****7582:domain/baidu.com"
],
"Condition": {}
}
]
}
作者

舰长胡椒

发布于

2022-11-29

更新于

2023-10-13

许可协议

评论