key-pair¶
key-pair create¶
Usage
usage: -c key-pair create [-h]
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
[--max-width <integer>] [--noindent]
[--prefix PREFIX] [--public-key PUBLIC_KEY]
name
Description
Create or import a key pair. Creates a 2048-bit SSH-2 RSA key. You may import SSH-2 RSA keys of length 1024, 2048, and 4096 bits.
Return
Returns dict: Key pair information
Optional
optional arguments:
-h, --help show this help message and exit
--public-key PUBLIC_KEY
The public key (base64-encoded)
key-pair delete¶
Usage
usage: -c key-pair delete [-h]
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
[--max-width <integer>] [--noindent]
[--prefix PREFIX]
key_name
Description
Delete the specified key pair.
Return
None
Optional
optional arguments:
-h, --help show this help message and exit
key-pair get¶
Usage
usage: -c key-pair get [-h] [-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
[--max-width <integer>] [--noindent] [--prefix PREFIX]
[--include-public-key]
key_name
Description
Get the details of the specified key pair.
Return
Returns dict: Key pair information
Optional
optional arguments:
-h, --help show this help message and exit
--include-public-key (Optional) Whether to return public key
key-pair list¶
Usage
usage: -c key-pair 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}]
[--names [NAMES [NAMES ...]]]
[--fingerprints [FINGERPRINTS [FINGERPRINTS ...]]]
Description
Returns all key pairs.
Return
None
Optional
optional arguments:
-h, --help show this help message and exit
--names [NAMES [NAMES ...]]
Key names to filter by
--fingerprints [FINGERPRINTS [FINGERPRINTS ...]]
Fingerprints to filter by