mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated AWS IAM CLI (markdown)
parent
f4c3394db2
commit
81d046d10c
|
@ -4,7 +4,7 @@ See [AWS-CLI-with-SeaweedFS](https://github.com/chrislusf/seaweedfs/wiki/AWS-CLI
|
||||||
|
|
||||||
# Execute commands
|
# Execute commands
|
||||||
|
|
||||||
## Create s3 credentials
|
## Create S3 credentials
|
||||||
|
|
||||||
Create user and access key
|
Create user and access key
|
||||||
```
|
```
|
||||||
|
@ -62,5 +62,25 @@ echo 's3.configure' | weed shell
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Show S3 credentials
|
||||||
|
|
||||||
|
List access keys
|
||||||
|
```
|
||||||
|
aws --endpoint http://127.0.0.1:8111 iam list-access-keys
|
||||||
|
{
|
||||||
|
"AccessKeyMetadata": [
|
||||||
|
{
|
||||||
|
"UserName": "iam",
|
||||||
|
"AccessKeyId": "B04R0WM64L0DAJ0N9LFZ",
|
||||||
|
"Status": "Active"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"UserName": "Bob",
|
||||||
|
"AccessKeyId": "X8R439UM7OSQJX28I9QTP",
|
||||||
|
"Status": "Active"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue