Reason (optional): The reason for the request.DurationMinutes: The request duration (in minutes).AccountId: ID of the managed account to request.SystemId: ID of the managed system to request.AccessType (optional, default: View): The type of access requested ( View, RDP, SSH).Psrun2 $(cat conn) ListSmartRules Asset Request ![]() DoNotRelease (optional): Do not release created request.Type (optional, default: password): The type of credentials to retrieve (password, dsskey).DurationMinutes (optional): The request duration (in minutes).Reason: The reason to retrieve a password.Can use IDs instead of names (but do not mix both). ![]() AccountName: The managed account name.Use DatabaseName\InstanceName for databases. ![]() After printing the password, the request is released (see DoNotRelease parameter). Or: POST ISARequests (for ISA-based access)įinds an account by name (if necessary), creates a request, then retrieves a password. For example, the syntax for the command RetrievePassword is: psrun2 -i $host $key $user RetrievePassword $MANAGEDSYSTEM $MANAGEDACCOUNT $REASON RetrievePassword (alias: RetrievePasswordByName)ĪPIs: GET ManagedAccounts, POST Requests, GET Credentials, PUT Requests//Checkin Short command parameters are ordered, not named they do not need to be prefixed with the parameter name and need only be in the correct order. Short Commands simplify API workflows by reducing command-line input and chaining successive calls in a single command, instead of calling each endpoint directly.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |