Get public SSH keys
This method retrieves all public SSH keys that are authorized for a specific user.
The user who runs this web service requires the following permission in the Vault:
- Reset Users' Passwords
In addition, the user who runs this web service must be in the same Vault Location or higher as the user whose public SSH keys are retrieved.
A user cannot manage their own public SSH keys. |
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/
|
The following mandatory value is required in the URL:
Parameter |
UserName |
||
Type |
String |
||
Description |
The name of the user whose public SSH keys will be retrieved.
|
||
Valid values |
Vault user name |
Resource information
HTTP method |
GET |
Content type |
application/json |
Header parameter
Parameter |
Authorization |
Type |
String |
Description |
The token that identifies the session. |
Valid values |
A session token that was returned from the “Logon” method. |
Body parameters
None
Result
|
Return codes
For a complete list of return codes, see Return Codes.