Create Bridge Credential
CreateBridgeCredential mints a credential for a bridge. If the bridge already has an active credential, it is revoked. The plaintext client_secret is returned exactly once on the response.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
The bridge to mint a credential for.
Body
The TunnelCredentialsServiceCreateBridgeCredentialRequest message.
Response
Successful response
The TunnelCredentialsServiceCreateBridgeCredentialResponse message.
TunnelCredential is the API view of one OAuth credential within a bridge. The plaintext client_secret is only populated on the CreateBridgeCredential response.