- okta.serviceAccounts.read
Lists all app service accounts
The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the Link response header. See Pagination and Link header.
- https://subdomain.okta.comhttps://subdomain.okta.com/privileged-access/api/v1/service-accounts
curl -i -X GET \
'https://subdomain.okta.com/privileged-access/api/v1/service-accounts?limit=20&after=string&match=salesforce'Success
The key name of the app in the Okta Integration Network (OIN)
The ORN of the relevant resource.
Use the specific app ORN format (orn:{partition}:idp:{yourOrgId}:apps:{appType}:{appId}) to identify an Okta app instance in your org.
The description of the app service account
The UUID of the app service account
The user-defined name for the app service account
A list of IDs of the Okta groups who own the app service account
[ "00g57qp78yZT2XBA40g7" ]
A list of IDs of the Okta users who own the app service account
[ "00u11s48P9zGW8yqm0g5" ]
Describes the current status of a service account
| Enum Value | Description |
|---|---|
| NO_ISSUES | The account is ready for use in Okta Privileged Access |
| UNSECURED | The account needs to be assigned to a resource group and a project in Okta Privileged Access |
| INFO | An action involving the account is in progress in Okta Privileged Access |
| ALERT | The account requires attention from an admin |
| ERROR | An error is preventing Okta Privileged Access from using the account |
Describes the detailed status of a service account
| Enum Value | Description |
|---|---|
| PENDING | The account is being created |
| CREATION_FAILED | The account can't be created |
| STAGED | The account is in the Okta Privileged Access resource assignment area |
| ROTATING | The account is assigned to a project in Okta Privileged Access. Credentials are currently being synced using Okta Lifecycle Management. |
| ROTATED | The account is assigned to a project in Okta Privileged Access. Password rotations are fulfilled by Okta Lifecycle Management. |
| ROTATION_FAILED | The account is assigned to a project in Okta Privileged Access. An error occurred while using Okta Lifecycle Management to rotate the password. |
| VAULTED | The account is assigned to a project in Okta Privileged Access. A manually managed password is assigned to the account. |
| MISSING_PASSWORD | The account is assigned to a project in Okta Privileged Access. A password isn't assigned to the account. |
| UNMANAGED | The account is assigned to a project in Okta Privileged Access. Initial password sync hasn't been attempted. |
[ { "id": "a747a818-a4c4-4446-8a87-704216495a08", "name": "salesforce Prod-1 account", "description": "This is for accessing salesforce Prod-1", "username": "testuser-salesforce-1@example.com", "containerOrn": "orn:okta:idp:00o1n8sbwArJ7OQRw406:apps:salesforce:0oa1gjh63g214q0Hq0g4", "containerInstanceName": "salesforce-1", "containerGlobalName": "salesforce", "ownerGroupIds": [ … ], "ownerUserIds": [ … ], "status": "NO_ISSUES", "statusDetail": "ROTATED", "created": "2024-04-04T15:56:05.000Z", "lastUpdated": "2024-04-05T18:15:44.000Z" }, { "id": "a747a818-a4c4-4446-8a87-704216495a09", "name": "salesforce Prod-5 account", "description": "This is for accessing salesforce Prod-5", "username": "testuser-salesforce-5@example.com", "containerOrn": "orn:okta:idp:00o1n8sbwArJ7OQRw406:apps:salesforce:0oa1gjh63g214q0Hq0g4", "containerInstanceName": "salesforce-5", "containerGlobalName": "salesforce", "ownerGroupIds": [ … ], "ownerUserIds": [ … ], "status": "NO_ISSUES", "statusDetail": "ROTATED", "created": "2024-04-04T15:56:05.000Z", "lastUpdated": "2024-04-05T18:15:44.000Z" } ]