Generate an MFA caching SSH key

This method generates an MFA caching SSH key for you to be used connecting to targets via PSM for SSH.

URL

 

Make sure there are no spaces in the URL.

The following characters are not supported in URL values: + & %

 

 

https://<IIS_Server_Ip>/PasswordVault/api/Users/Secret/SSHKeys/Cache

Resource information

HTTP method

POST

Content type

application/json

Header parameter

Parameter

Authorization

Type

String

Description

The token that identifies the session, encoded in BASE 64.

Mandatory

Yes

Default value

none

Body parameters

Parameter

formats

Type

String

Description

The list of formats (PPK, PEM, OpenSSH) to output the key, separated by commas.

Mandatory

No

Default value

PEM

Parameter

keyPassword

Type

String

Description

The passphrase to protect the private key on generation.

Mandatory

No

Default value

no passphrase

Result

 
{'count': <number of private key types>,
'creationTime': <key creation time>,
'expirationTime': <key expiration time>,
'publicKey': <public key>
'value': [{'format': '<key format>',
'keyAlg': '<key encryption>',
'privateKey': <first private key>
'value': [{'format': '<key format>',
'keyAlg': '<key encryption>',
'privateKey': <second private key>
'value': [{'format': '<key format>',
'keyAlg': '<key encryption>',
'privateKey': <third private key>}]}

Return codes

For a complete list of return codes, see Return Codes.