Server Accounts
Overview
Postman Collection
Okta Privileged Access
Active Directory Accounts
Active Directory Connections
Assignments
Attributes
Clients
Database Accounts
Database Connections
Gateways
Groups
Infrastructure Orchestrators
MFA Approvals
Okta Universal Directory Accounts
Projects
Random Password Generation
Relationships
Access Reports
Resource groups
SaaS Application Accounts
Secrets
Security Policy
Servers
Service Users
Staged Service Accounts
Sudo Commands
Teams
Users
Workload Connections
Workload Roles
OPA roles:
- end_user
Reveals the JWE-encrypted password for the specified server account
Security
bearerAuth
- Production serverhttps://{org_name}.pam.okta.com/v1/teams/{team_name}/server_accounts/{server_account_id}/reveal_credentials
curl -i -X POST \
'https://{org_name}.pam.okta.com/v1/teams/{team_name}/server_accounts/{server_account_id}/reveal_credentials' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"public_key": {
"alg": "string",
"crv": "Ed25519",
"d": "string",
"dp": "string",
"dq": "string",
"e": "string",
"k": "string",
"kid": "string",
"kty": "EC",
"n": "string",
"p": "string",
"q": "string",
"qi": "string",
"use": "string",
"x": "string",
"x5c": [
"string"
],
"x5t": "string",
"x5t#S256": "string",
"x5u": "string",
"y": "string"
},
"user_access_method": {
"access_credential": "",
"availability_details_text": "string",
"brokered": true,
"checkout_requirements": {
"max_checkout_duration_in_seconds": 0,
"required": true
},
"conditionals": [
{
"access_request_type_id": "string",
"access_request_type_name": "string",
"acr_values": "phr",
"condition_is_met": true,
"description": "string",
"expires_after_seconds": 0,
"type": "access_request"
}
],
"current_user_checkout_expires_at": "2019-08-24T14:15:22Z",
"details": {
"path": [
{}
],
"privileges": {
"_type": "SecurityPolicyPasswordCheckoutRDPPrivilege",
"admin_level_permissions": true,
"password_checkout_rdp": true,
"remote_access_permissions": true,
"folder_create": true,
"folder_delete": true,
"folder_update": true,
"list": true,
"secret_create": true,
"secret_delete": true,
"secret_reveal": true,
"secret_update": true
},
"secret_id": "string",
"secret_name": "string",
"_type": "secret"
},
"identity": "string",
"resource_status": "available",
"rule_ids": [
"string"
],
"server_host_name": "string",
"server_id": "string",
"sudo_command_bundles": [
{
"ent_type": "string",
"sudo_add_env": [
"string"
],
"sudo_commands": [
"string"
],
"sudo_group_name": "string",
"sudo_id": "string",
"sudo_login_username": "string",
"sudo_name": "string",
"sudo_noexec": true,
"sudo_nopasswd": true,
"sudo_runas": "string",
"sudo_setenv": true,
"sudo_sub_env": [
"string"
]
}
],
"user_access_type": "string"
}
}'