kopia lustrzana https://github.com/simonw/s3-credentials
Fixed example output for list-buckets --details
rodzic
6d3fa9283e
commit
d90ebd12d7
52
README.md
52
README.md
|
@ -241,35 +241,37 @@ Add `--details` to include details of the bucket ACL, website configuration and
|
||||||
Using `--details` adds three additional API calls for each bucket, so it is advisable to use it with one or more explicit bucket names.
|
Using `--details` adds three additional API calls for each bucket, so it is advisable to use it with one or more explicit bucket names.
|
||||||
```
|
```
|
||||||
% s3-credentials list-buckets simonw-test-public-website-bucket --details
|
% s3-credentials list-buckets simonw-test-public-website-bucket --details
|
||||||
{
|
[
|
||||||
"Name": "simonw-test-public-website-bucket",
|
{
|
||||||
"CreationDate": "2021-11-08 22:53:30+00:00",
|
"Name": "simonw-test-public-website-bucket",
|
||||||
"bucket_acl": {
|
"CreationDate": "2021-11-08 22:53:30+00:00",
|
||||||
"Owner": {
|
"bucket_acl": {
|
||||||
"DisplayName": "simon",
|
"Owner": {
|
||||||
"ID": "abcdeabcdeabcdeabcdeabcdeabcde0001"
|
"DisplayName": "simon",
|
||||||
|
"ID": "abcdeabcdeabcdeabcdeabcdeabcde0001"
|
||||||
|
},
|
||||||
|
"Grants": [
|
||||||
|
{
|
||||||
|
"Grantee": {
|
||||||
|
"DisplayName": "simon",
|
||||||
|
"ID": "abcdeabcdeabcdeabcdeabcdeabcde0001",
|
||||||
|
"Type": "CanonicalUser"
|
||||||
|
},
|
||||||
|
"Permission": "FULL_CONTROL"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Grants": [
|
"public_access_block": null,
|
||||||
{
|
"bucket_website": {
|
||||||
"Grantee": {
|
"IndexDocument": {
|
||||||
"DisplayName": "simon",
|
"Suffix": "index.html"
|
||||||
"ID": "abcdeabcdeabcdeabcdeabcdeabcde0001",
|
},
|
||||||
"Type": "CanonicalUser"
|
"ErrorDocument": {
|
||||||
},
|
"Key": "error.html"
|
||||||
"Permission": "FULL_CONTROL"
|
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
"public_access_block": null,
|
|
||||||
"bucket_website": {
|
|
||||||
"IndexDocument": {
|
|
||||||
"Suffix": "index.html"
|
|
||||||
},
|
|
||||||
"ErrorDocument": {
|
|
||||||
"Key": "error.html"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
```
|
```
|
||||||
A bucket with `public_access_block` might look like this:
|
A bucket with `public_access_block` might look like this:
|
||||||
```json
|
```json
|
||||||
|
|
Ładowanie…
Reference in New Issue