InlinePrincipalIdentity1

InlinePrincipalIdentity1
InlinePrincipalIdentity1
JSON Example
{
    "certificate_id": "string",
    "is_protected": false,
    "name": "string",
    "node_id": "string",
    "role": "string",
    "roles_for_paths": [
        {
            "delete_path": false,
            "path": "string",
            "roles": [
                {
                    "role": "string",
                    "role_display_name": "string"
                }
            ]
        }
    ]
}
string
certificate_id
Optional

Id of the stored certificate. When used with the deprecated POST /trust-management/principal-identities API this field is required.

boolean
is_protected
Optional

Indicator whether the entities created by this principal should be protected.

string As /^[a-zA-Z0-9]+([-._]?[a-zA-Z0-9]+)*$/
name
Required
Constraints: maxLength: 255

Name of the principal.

string As /^[a-zA-Z0-9]+([-._]?[a-zA-Z0-9]+)*$/
node_id
Required
Constraints: maxLength: 255

Unique node-id of a principal. This is used primarily in the case where a cluster of nodes is used to make calls to the NSX Manager and the same 'name' is used so that the nodes can access and modify the same data while still accessing NSX through their individual secret (certificate or JWT). In all other cases this can be any string.

string As /^[_a-z0-9-]+$/
role
Optional

The roles that are associated with this PI.

roles_for_paths
Optional

The roles that are associated with this PI, limiting them to a policy path like '/infra'. In case the path is '/', the roles apply everywhere.