access-key

access-key create

Usage

usage: -c access-key create [-h]
                         [-f {adaptive_table,json,shell,table,value,yaml}]
                         [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                         [--max-width <integer>] [--noindent]
                         [--prefix PREFIX] [--user-id USER_ID]
                         [--access-key-id ACCESS_KEY_ID]
                         [--secret-access-key SECRET_ACCESS_KEY]
                         [--project-id PROJECT_ID]

Description

Creates a new AWS secret access key and corresponding AWS access key ID for the specified user. The default status for new keys is Active.

Return

Returns dict: A structure with details about the access key

Optional

 optional arguments:
-h, --help            show this help message and exit
--user-id USER_ID     The ID of the user that the new key will belong to. If not given, current user is used
--access-key-id ACCESS_KEY_ID
                      Pre-generated access key. If not given, one will be generated
--secret-access-key SECRET_ACCESS_KEY
                      Pre-generated secret access key. Must be given if access_key_id is not None.
                      If not given, one will be generated
--project-id PROJECT_ID
                      The ID of the project in which the access-key will be created in

access-key list

Usage

usage: -c access-key list [-h] [-f {adaptive_table,csv,json,table,value,yaml}]
                       [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                       [--max-width <integer>] [--noindent]
                       [--quote {all,minimal,none,nonnumeric}]
                       [--user-id USER_ID]

Description

Returns information about the access key IDs associated with the specified IAM user. If there are none, the action returns an empty list.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit
--user-id USER_ID     The ID of the user

access-key remove

Usage

usage: -c access-key remove [-h]
                         [-f {adaptive_table,json,shell,table,value,yaml}]
                         [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                         [--max-width <integer>] [--noindent]
                         [--prefix PREFIX] [--user-id USER_ID]
                         access_key_id

Description

Deletes the access key pair associated with the specified user.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit
--user-id USER_ID     The ID of the user whose access key pair you want to delete

access-key update

Usage

usage: -c access-key update [-h]
                         [-f {adaptive_table,json,shell,table,value,yaml}]
                         [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                         [--max-width <integer>] [--noindent]
                         [--prefix PREFIX] [--user-id USER_ID]
                         access_key_id is_active

Description

Changes the status of the specified access key from Active to Inactive, or vice versa. This action can be used to disable a user’s key as part of a key rotation work flow.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit
--user-id USER_ID     The ID of the user whose key you want to update