/secrets-manager/api/v1/targetdomains/{targetDomainID}/managedaccounts
Get all managed accounts in a target domain
sortkey
string
sortdir
string
limit
int
offset
int
Success
{
"count": 123,
"items": [
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"username": "string",
"email": "string",
"full_name": "string",
"sam_account_name": "string",
"source_id": "string",
"security_id": "string",
"additional_data": {},
"target_domain": {
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string",
"deleted": true
},
"password_policy": {
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string"
},
"enabled": true,
"rotation_enabled": true,
"explicit_checkout": true,
"state": "MANAGED",
"comment": "string",
"locked": true,
"locked_timestamp": "2023-06-07T17:32:28Z",
"rotation_history": [
{
"version": 123,
"rotated": "2023-06-07T17:32:28Z",
"trigger": "ONRELEASE",
"status": "SUCCESS"
}
],
"checkouts": [
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"type": "TARGET_DOMAIN_SECRET",
"user_id": "5bf77342-221c-11ee-be56-0242ac120002",
"expires": "2023-06-07T17:32:28Z",
"created": "2023-06-07T17:32:28Z",
"explicit_checkout": true,
"secrets": [
{
"version": 123,
"secret": "string",
"created": "2023-06-07T17:32:28Z"
}
],
"username": "string",
"email": "string",
"full_name": "string",
"target_domain_id": "5bf77342-221c-11ee-be56-0242ac120002",
"managed_account_id": "5bf77342-221c-11ee-be56-0242ac120002",
"host_id": "5bf77342-221c-11ee-be56-0242ac120002",
"secret_name": "string",
"meta": {}
}
],
"created": "2023-06-07T17:32:28Z",
"author": "5bf77342-221c-11ee-be56-0242ac120002",
"updated": "5bf77342-221c-11ee-be56-0242ac120002",
"updated_by": "2023-06-07T17:32:28Z",
"disable_rdp_cert_auth": true
}
]
}
/secrets-manager/api/v1/targetdomains/{targetDomainID}/managedaccounts
Create a managed account
id
string
username
string
Username must be unique with a target domain
email
string
full_name
string
sam_account_name
string
source_id
string
security_id
string
additional_data
object
target_domain
object (targetdomain_handle)
id
string
name
string
deleted
boolean
password_policy
object (policy_handle)
id
string
name
string
enabled
boolean
Managed account enabled/disabled in PrivX
rotation_enabled
boolean
Password rotation enabled/disabled
explicit_checkout
boolean
Explicit checkout of account password allowed/disallowed
state
string
comment
string
locked
boolean
Account locked in PrivX for ongoing password rotation
locked_timestamp
string
rotation_history
array
version
int
rotated
string
trigger
string
status
string
checkouts
array
id
string
type
string
user_id
string
expires
string
created
string
explicit_checkout
boolean
secrets
array
username
string
email
string
full_name
string
target_domain_id
string
managed_account_id
string
host_id
string
secret_name
string
meta
object
created
string
author
string
updated
string
updated_by
string
disable_rdp_cert_auth
boolean
disable RDP cert authorization for this user
password
string
Initial password stored to PrivX vault
rotate
boolean
Trigger initial password rotation after create
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"username": "string",
"email": "string",
"full_name": "string",
"sam_account_name": "string",
"source_id": "string",
"security_id": "string",
"additional_data": {},
"target_domain": {
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string",
"deleted": true
},
"password_policy": {
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string"
},
"enabled": true,
"rotation_enabled": true,
"explicit_checkout": true,
"state": "MANAGED",
"comment": "string",
"locked": true,
"locked_timestamp": "2023-06-07T17:32:28Z",
"rotation_history": [
{
"version": 123,
"rotated": "2023-06-07T17:32:28Z",
"trigger": "ONRELEASE",
"status": "SUCCESS"
}
],
"checkouts": [
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"type": "TARGET_DOMAIN_SECRET",
"user_id": "5bf77342-221c-11ee-be56-0242ac120002",
"expires": "2023-06-07T17:32:28Z",
"created": "2023-06-07T17:32:28Z",
"explicit_checkout": true,
"secrets": [
{
"version": 123,
"secret": "string",
"created": "2023-06-07T17:32:28Z"
}
],
"username": "string",
"email": "string",
"full_name": "string",
"target_domain_id": "5bf77342-221c-11ee-be56-0242ac120002",
"managed_account_id": "5bf77342-221c-11ee-be56-0242ac120002",
"host_id": "5bf77342-221c-11ee-be56-0242ac120002",
"secret_name": "string",
"meta": {}
}
],
"created": "2023-06-07T17:32:28Z",
"author": "5bf77342-221c-11ee-be56-0242ac120002",
"updated": "5bf77342-221c-11ee-be56-0242ac120002",
"updated_by": "2023-06-07T17:32:28Z",
"disable_rdp_cert_auth": true,
"password": "string",
"rotate": true
}
Managed account was successfully created
{
"id": "5bf77342-221c-11ee-be56-0242ac120002"
}
/secrets-manager/api/v1/targetdomains/{targetDomainID}/managedaccounts/search
Search managed accounts in a target domain
keywords
string
Space or comma separated list of search keywords
enabled
boolean
created_after
string
created_before
string
updated_after
string
updated_before
string
state
string
rotation_enabled
boolean
explicit_checkout
boolean
{
"keywords": "string",
"enabled": true,
"created_after": "2023-06-07T17:32:28Z",
"created_before": "2023-06-07T17:32:28Z",
"updated_after": "2023-06-07T17:32:28Z",
"updated_before": "2023-06-07T17:32:28Z",
"state": "MANAGED",
"rotation_enabled": true,
"explicit_checkout": true
}
Success
{
"count": 123,
"items": [
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"username": "string",
"email": "string",
"full_name": "string",
"sam_account_name": "string",
"source_id": "string",
"security_id": "string",
"additional_data": {},
"target_domain": {
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string",
"deleted": true
},
"password_policy": {
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string"
},
"enabled": true,
"rotation_enabled": true,
"explicit_checkout": true,
"state": "MANAGED",
"comment": "string",
"locked": true,
"locked_timestamp": "2023-06-07T17:32:28Z",
"rotation_history": [
{
"version": 123,
"rotated": "2023-06-07T17:32:28Z",
"trigger": "ONRELEASE",
"status": "SUCCESS"
}
],
"checkouts": [
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"type": "TARGET_DOMAIN_SECRET",
"user_id": "5bf77342-221c-11ee-be56-0242ac120002",
"expires": "2023-06-07T17:32:28Z",
"created": "2023-06-07T17:32:28Z",
"explicit_checkout": true,
"secrets": [
{
"version": 123,
"secret": "string",
"created": "2023-06-07T17:32:28Z"
}
],
"username": "string",
"email": "string",
"full_name": "string",
"target_domain_id": "5bf77342-221c-11ee-be56-0242ac120002",
"managed_account_id": "5bf77342-221c-11ee-be56-0242ac120002",
"host_id": "5bf77342-221c-11ee-be56-0242ac120002",
"secret_name": "string",
"meta": {}
}
],
"created": "2023-06-07T17:32:28Z",
"author": "5bf77342-221c-11ee-be56-0242ac120002",
"updated": "5bf77342-221c-11ee-be56-0242ac120002",
"updated_by": "2023-06-07T17:32:28Z",
"disable_rdp_cert_auth": true
}
]
}
/secrets-manager/api/v1/targetdomains/{targetDomainID}/managedaccounts/{managedAccountID}
Get managed account
targetDomainID
string
required
managedAccountID
string
required
Success
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"username": "string",
"email": "string",
"full_name": "string",
"sam_account_name": "string",
"source_id": "string",
"security_id": "string",
"additional_data": {},
"target_domain": {
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string",
"deleted": true
},
"password_policy": {
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string"
},
"enabled": true,
"rotation_enabled": true,
"explicit_checkout": true,
"state": "MANAGED",
"comment": "string",
"locked": true,
"locked_timestamp": "2023-06-07T17:32:28Z",
"rotation_history": [
{
"version": 123,
"rotated": "2023-06-07T17:32:28Z",
"trigger": "ONRELEASE",
"status": "SUCCESS"
}
],
"checkouts": [
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"type": "TARGET_DOMAIN_SECRET",
"user_id": "5bf77342-221c-11ee-be56-0242ac120002",
"expires": "2023-06-07T17:32:28Z",
"created": "2023-06-07T17:32:28Z",
"explicit_checkout": true,
"secrets": [
{
"version": 123,
"secret": "string",
"created": "2023-06-07T17:32:28Z"
}
],
"username": "string",
"email": "string",
"full_name": "string",
"target_domain_id": "5bf77342-221c-11ee-be56-0242ac120002",
"managed_account_id": "5bf77342-221c-11ee-be56-0242ac120002",
"host_id": "5bf77342-221c-11ee-be56-0242ac120002",
"secret_name": "string",
"meta": {}
}
],
"created": "2023-06-07T17:32:28Z",
"author": "5bf77342-221c-11ee-be56-0242ac120002",
"updated": "5bf77342-221c-11ee-be56-0242ac120002",
"updated_by": "2023-06-07T17:32:28Z",
"disable_rdp_cert_auth": true
}
/secrets-manager/api/v1/targetdomains/{targetDomainID}/managedaccounts/{managedAccountID}
Modify a managed account
id
string
username
string
Username must be unique with a target domain
email
string
full_name
string
sam_account_name
string
source_id
string
security_id
string
additional_data
object
target_domain
object (targetdomain_handle)
id
string
name
string
deleted
boolean
password_policy
object (policy_handle)
id
string
name
string
enabled
boolean
Managed account enabled/disabled in PrivX
rotation_enabled
boolean
Password rotation enabled/disabled
explicit_checkout
boolean
Explicit checkout of account password allowed/disallowed
state
string
comment
string
locked
boolean
Account locked in PrivX for ongoing password rotation
locked_timestamp
string
rotation_history
array
version
int
rotated
string
trigger
string
status
string
checkouts
array
id
string
type
string
user_id
string
expires
string
created
string
explicit_checkout
boolean
secrets
array
username
string
email
string
full_name
string
target_domain_id
string
managed_account_id
string
host_id
string
secret_name
string
meta
object
created
string
author
string
updated
string
updated_by
string
disable_rdp_cert_auth
boolean
disable RDP cert authorization for this user
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"username": "string",
"email": "string",
"full_name": "string",
"sam_account_name": "string",
"source_id": "string",
"security_id": "string",
"additional_data": {},
"target_domain": {
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string",
"deleted": true
},
"password_policy": {
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string"
},
"enabled": true,
"rotation_enabled": true,
"explicit_checkout": true,
"state": "MANAGED",
"comment": "string",
"locked": true,
"locked_timestamp": "2023-06-07T17:32:28Z",
"rotation_history": [
{
"version": 123,
"rotated": "2023-06-07T17:32:28Z",
"trigger": "ONRELEASE",
"status": "SUCCESS"
}
],
"checkouts": [
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"type": "TARGET_DOMAIN_SECRET",
"user_id": "5bf77342-221c-11ee-be56-0242ac120002",
"expires": "2023-06-07T17:32:28Z",
"created": "2023-06-07T17:32:28Z",
"explicit_checkout": true,
"secrets": [
{
"version": 123,
"secret": "string",
"created": "2023-06-07T17:32:28Z"
}
],
"username": "string",
"email": "string",
"full_name": "string",
"target_domain_id": "5bf77342-221c-11ee-be56-0242ac120002",
"managed_account_id": "5bf77342-221c-11ee-be56-0242ac120002",
"host_id": "5bf77342-221c-11ee-be56-0242ac120002",
"secret_name": "string",
"meta": {}
}
],
"created": "2023-06-07T17:32:28Z",
"author": "5bf77342-221c-11ee-be56-0242ac120002",
"updated": "5bf77342-221c-11ee-be56-0242ac120002",
"updated_by": "2023-06-07T17:32:28Z",
"disable_rdp_cert_auth": true
}
Managed account was successfully modified
Empty response
/secrets-manager/api/v1/targetdomains/{targetDomainID}/managedaccounts/{managedAccountID}
Delete a managed account
targetDomainID
string
required
managedAccountID
string
required
Managed account was successfully deleted
Empty response
/secrets-manager/api/v1/targetdomains/{targetDomainID}/managedaccounts/{managedAccountID}/rotate
Trigger managed account password rotation
targetDomainID
string
required
managedAccountID
string
required
Managed account password rotation was successfully triggered
Empty response
/secrets-manager/api/v1/targetdomains/{targetDomainID}/managedaccounts/{managedAccountID}/password
Provide password for managed account
password
string
{
"password": "string"
}
Password was stored as new managed account secret version
{
"version": 123,
"created": "2023-06-07T17:32:28Z"
}
/secrets-manager/api/v1/targetdomains/{targetDomainID}/managedaccounts/batch/create
Create a batch of managed accounts
ids
array
data
object
enabled
boolean
rotation_enabled
boolean
rotate
boolean
Trigger initial password rotation after create
explicit_checkout
boolean
password_policy
object (policy_handle)
comment
string
disable_rdp_cert_auth
boolean
disable RDP cert auth for the users
{
"ids": [
"5bf77342-221c-11ee-be56-0242ac120002"
],
"data": {
"enabled": true,
"rotation_enabled": true,
"rotate": true,
"explicit_checkout": true,
"password_policy": {
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string"
},
"comment": "string",
"disable_rdp_cert_auth": true
}
}
Managed account batch was successfully created
{
"ids": [
"5bf77342-221c-11ee-be56-0242ac120002"
]
}
/secrets-manager/api/v1/targetdomains/{targetDomainID}/managedaccounts/batch/edit
Modify a batch of managed accounts
ids
array
changes
object
enabled
boolean
rotation_enabled
boolean
explicit_checkout
boolean
password_policy
object (policy_handle)
comment
string
disable_rdp_cert_auth
boolean
disable RDP cert auth for the users
{
"ids": [
"5bf77342-221c-11ee-be56-0242ac120002"
],
"changes": {
"enabled": true,
"rotation_enabled": true,
"explicit_checkout": true,
"password_policy": {
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string"
},
"comment": "string",
"disable_rdp_cert_auth": true
}
}
Managed account batch was successfully modified
Empty response
/secrets-manager/api/v1/targetdomains/{targetDomainID}/managedaccounts/batch/delete
Delete a batch of managed accounts
ids
array
{
"ids": [
"5bf77342-221c-11ee-be56-0242ac120002"
]
}
Managed account batch was successfully deleted
Empty response
/secrets-manager/api/v1/targetdomains/{targetDomainID}/managedaccounts/batch/rotate
Trigger password rotation for a batch of managed accounts
ids
array
{
"ids": [
"5bf77342-221c-11ee-be56-0242ac120002"
]
}
Rotation was successfully triggered for a managed account batch
Empty response
Was this page helpful?