ezgh objects keys create [--description d] [--bot bot_…] [--print-credentials] [flags]Create an access key, which acts with your access, or with a bot’s with --bot. Its ID is the S3 access key ID. The secret is printed once and can’t be shown again.
--print-credentials prints an AWS CLI profile holding the secret, for ~/.aws/config.
Part of ezgh objects keys.
Examples
ezgh objects keys create --description laptop --print-credentials >> ~/.aws/config
aws --profile ezgh s3 lsFlags
| Flag | Type | Default | Description |
|---|---|---|---|
--bot |
string | a bot’s ID (bot_…) for the key to act as | |
--description |
string | what the key is for | |
--print-credentials |
boolean | print an AWS CLI profile holding the secret |
This command also takes the global flags.