NSX-T Data Center REST API
Configure NSX for OIDC authentication with VC/WS1B
Configures NSX to use VC/WS1B for OIDC authentication. Using the provided JWT token, NSX will create an OAuth app on VC/WS1B, creating a client ID and client secret. NSX will subsequently use that client ID/secret to authenticate user, and will support single sign-on across VMware products.Request:
Method:
POST
URI Path(s):
/api/v1/trust-management/oidc-uris/action/configure-ws1b-oidc-endpoint
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Ws1bOidcEndpointCreateRequest+
Example Request:
{ "api_token": "eyJhbGciOiJS...mHWrhfg", "certificate_chain": "-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----", "oidc_uri": "https://vc.example.com/oidc/.well-known", "nsx_fqdn": "nsx-vip.it.example.com" } example_response: | 201 Created Location: https://nsx.example.com/trust-management/oidc-uris/4e9c32747e70661eb2bb77f38de436e966f19053f519c4c4467ba228d2ac027dSuccessful Response:
Response Code:
201 Created
Response Headers:
n/a
Response Body:
n/a