mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
f8b94cac0e
* move s3account.AccountManager into to iam.S3ApiConfiguration and switch to Interface https://github.com/seaweedfs/seaweedfs/issues/4519 * fix: test bucket acl default and adjust the variable names * fix: s3 api config test --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
115 lines
2.2 KiB
JSON
115 lines
2.2 KiB
JSON
{
|
|
"identities": [
|
|
{
|
|
"name": "anonymous",
|
|
"actions": [
|
|
"Read"
|
|
]
|
|
},
|
|
{
|
|
"name": "some_admin_user",
|
|
"credentials": [
|
|
{
|
|
"accessKey": "some_access_key1",
|
|
"secretKey": "some_secret_key1"
|
|
}
|
|
],
|
|
"actions": [
|
|
"Admin",
|
|
"Read",
|
|
"List",
|
|
"Tagging",
|
|
"Write"
|
|
]
|
|
},
|
|
{
|
|
"name": "s3_tests",
|
|
"credentials": [
|
|
{
|
|
"accessKey": "ABCDEFGHIJKLMNOPQRST",
|
|
"secretKey": "abcdefghijklmnopqrstuvwxyzabcdefghijklmn"
|
|
},
|
|
{
|
|
"accessKey": "0555b35654ad1656d804",
|
|
"secretKey": "h7GhxuBLTrlhVUyxSPUKUV8r/2EI4ngqJxD7iBdBYLhwluN30JaT3Q=="
|
|
}
|
|
],
|
|
"actions": [
|
|
"Admin",
|
|
"Read",
|
|
"List",
|
|
"Tagging",
|
|
"Write"
|
|
],
|
|
"account": {
|
|
"id": "testid"
|
|
}
|
|
},
|
|
{
|
|
"name": "s3_tests_alt",
|
|
"credentials": [
|
|
{
|
|
"accessKey": "NOPQRSTUVWXYZABCDEFG",
|
|
"secretKey": "nopqrstuvwxyzabcdefghijklmnabcdefghijklm"
|
|
}
|
|
],
|
|
"actions": [
|
|
"Admin",
|
|
"Read",
|
|
"List",
|
|
"Tagging",
|
|
"Write"
|
|
]
|
|
},
|
|
{
|
|
"name": "s3_tests_tenant",
|
|
"credentials": [
|
|
{
|
|
"accessKey": "HIJKLMNOPQRSTUVWXYZA",
|
|
"secretKey": "opqrstuvwxyzabcdefghijklmnopqrstuvwxyzab"
|
|
}
|
|
],
|
|
"actions": [
|
|
"Admin",
|
|
"Read",
|
|
"List",
|
|
"Tagging",
|
|
"Write"
|
|
]
|
|
},
|
|
{
|
|
"name": "some_read_only_user",
|
|
"credentials": [
|
|
{
|
|
"accessKey": "some_access_key2",
|
|
"secretKey": "some_secret_key2"
|
|
}
|
|
],
|
|
"actions": [
|
|
"Read"
|
|
]
|
|
},
|
|
{
|
|
"name": "some_normal_user",
|
|
"credentials": [
|
|
{
|
|
"accessKey": "some_access_key3",
|
|
"secretKey": "some_secret_key3"
|
|
}
|
|
],
|
|
"actions": [
|
|
"Read",
|
|
"List",
|
|
"Tagging",
|
|
"Write"
|
|
]
|
|
}
|
|
],
|
|
"accounts": [
|
|
{
|
|
"id" : "testid",
|
|
"displayName": "M. Tester",
|
|
"emailAddress": "tester@ceph.com"
|
|
}
|
|
]
|
|
} |