Skip to main content
Version: v41

managedaccount

Target domain managed account

idstring<uuid>
usernamestring

Username must be unique with a target domain

emailstring
full_namestring
sam_account_namestring
source_idstring
security_idstring
additional_dataobject
target_domain object

Target domain handle

idstring<uuid>
namestring
deletedboolean
password_policy policy_handle

Password policy handle

idstring<uuid>
namestring
enabledboolean

Managed account enabled/disabled in PrivX

rotation_enabledboolean

Password rotation enabled/disabled

explicit_checkoutboolean

Explicit checkout of account password allowed/disallowed

statestring

Possible values: [MANAGED, UNMANAGED, NEW, REMOVED]

commentstring
lockedboolean

Account locked in PrivX for ongoing password rotation

locked_timestampstring<date-time>
rotation_history object[]

List of managed accounts rotation history items

  • Array [
  • versioninteger
    rotatedstring<date-time>
    triggerstring

    Possible values: [ONRELEASE, ONEXPIRY, PERIODIC, MANUAL]

    statusstring

    Possible values: [SUCCESS, ERROR, MAX_ROTATION_RETRIES_ERROR]

  • ]
  • checkouts object[]

    List of secret checkouts

  • Array [
  • idstring<uuid>
    typestring

    Possible values: [TARGET_DOMAIN_SECRET, HOST_SECRET]

    user_idstring<uuid>
    expiresstring<date-time>
    createdstring<date-time>
    explicit_checkoutboolean
    secrets object[]

    List of secret versions

  • Array [
  • versioninteger
    secretstring
    createdstring<date-time>
  • ]
  • usernamestring
    emailstring
    full_namestring
    target_domain_idstring<uuid>
    managed_account_idstring<uuid>
    host_idstring<uuid>
    secret_namestring
    metaobject
  • ]
  • createdstring<date-time>
    authorstring<uuid>
    updatedstring<uuid>
    updated_bystring<date-time>
    disable_rdp_cert_authboolean

    disable RDP cert authorization for this user

    managedaccount
    {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "username": "string",
    "email": "string",
    "full_name": "string",
    "sam_account_name": "string",
    "source_id": "string",
    "security_id": "string",
    "additional_data": {},
    "target_domain": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "string",
    "deleted": true
    },
    "password_policy": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "string"
    },
    "enabled": true,
    "rotation_enabled": true,
    "explicit_checkout": true,
    "state": "MANAGED",
    "comment": "string",
    "locked": true,
    "locked_timestamp": "2024-07-29T15:51:28.071Z",
    "rotation_history": [
    {
    "version": 0,
    "rotated": "2024-07-29T15:51:28.071Z",
    "trigger": "ONRELEASE",
    "status": "SUCCESS"
    }
    ],
    "checkouts": [
    {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "type": "TARGET_DOMAIN_SECRET",
    "user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "expires": "2024-07-29T15:51:28.071Z",
    "created": "2024-07-29T15:51:28.071Z",
    "explicit_checkout": true,
    "secrets": [
    {
    "version": 0,
    "secret": "string",
    "created": "2024-07-29T15:51:28.071Z"
    }
    ],
    "username": "string",
    "email": "string",
    "full_name": "string",
    "target_domain_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "managed_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "host_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "secret_name": "string",
    "meta": {}
    }
    ],
    "created": "2024-07-29T15:51:28.071Z",
    "author": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "updated": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "updated_by": "2024-07-29T15:51:28.071Z",
    "disable_rdp_cert_auth": true
    }