kopia lustrzana https://github.com/simonw/s3-credentials
Updated example output in README for list-buckets
rodzic
adf5c567f6
commit
6d3fa9283e
16
README.md
16
README.md
|
@ -213,22 +213,26 @@ Add `--csv` or `--tsv` to get back CSV or TSV data.
|
||||||
Shows a list of all buckets in your AWS account.
|
Shows a list of all buckets in your AWS account.
|
||||||
|
|
||||||
% s3-credentials list-buckets
|
% s3-credentials list-buckets
|
||||||
{
|
[
|
||||||
|
{
|
||||||
"Name": "aws-cloudtrail-logs-462092780466-f2c900d3",
|
"Name": "aws-cloudtrail-logs-462092780466-f2c900d3",
|
||||||
"CreationDate": "2021-03-25 22:19:54+00:00"
|
"CreationDate": "2021-03-25 22:19:54+00:00"
|
||||||
}
|
},
|
||||||
{
|
{
|
||||||
"Name": "simonw-test-bucket-for-s3-credentials",
|
"Name": "simonw-test-bucket-for-s3-credentials",
|
||||||
"CreationDate": "2021-11-03 21:46:12+00:00"
|
"CreationDate": "2021-11-03 21:46:12+00:00"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
|
||||||
With no extra arguments this will show all available buckets - you can also add one or more explicit bucket names to see just those buckets:
|
With no extra arguments this will show all available buckets - you can also add one or more explicit bucket names to see just those buckets:
|
||||||
|
|
||||||
% s3-credentials list-buckets simonw-test-bucket-for-s3-credentials
|
% s3-credentials list-buckets simonw-test-bucket-for-s3-credentials
|
||||||
{
|
[
|
||||||
|
{
|
||||||
"Name": "simonw-test-bucket-for-s3-credentials",
|
"Name": "simonw-test-bucket-for-s3-credentials",
|
||||||
"CreationDate": "2021-11-03 21:46:12+00:00"
|
"CreationDate": "2021-11-03 21:46:12+00:00"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
|
||||||
This accepts the same `--nl`, `--csv` and `--tsv` options as `list-users`.
|
This accepts the same `--nl`, `--csv` and `--tsv` options as `list-users`.
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue