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: + & %
-
If the URL includes a dot (.), add a forward slash (/) at the end of the URL. For example: api/Safes/MySafe/Members/user@cyber.com/
|
https://<IIS_Server_Ip>/PasswordVault/API/Users/Secret/SSHKeys/Cache/ |
Resource information
HTTP method |
POST |
Content type |
application/json |
Header parameter
Parameter |
Description |
---|---|
Authorization |
The token that identifies the session, encoded in BASE 64. See Authentication. Type: String Mandatory: Yes Default value: None |
Body parameters
Parameter |
formats |
Type |
json list of strings |
Description |
The list of formats to output the key, separated by commas. The list contains all or part of the values: {PPK, PEM, OpenSSH} |
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
|
Return codes
For a complete list of return codes, see Return Codes.