NSX-T Data Center REST API
Register a token-based principal identity.
Register a principal identity that is going to be authenticated through a token.The combination name and node_id needs to be unique across token-based and
certificate-based principal identities.
Request:
Method:
POST
URI Path(s):
/api/v1/trust-management/token-principal-identities
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
TokenBasedPrincipalIdentity+
Example Request:
POST https://<nsx-mgr>/api/v1/trust-management/token-principal-identities { "name": "open-stack", "node_id": "node-2", "is_protected": "true" }Successful Response:
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
TokenBasedPrincipalIdentity+