CreateCredential creates a new client credential for a service principal.
Documentation Index
Fetch the complete documentation index at: https://conductorone-ian-account-to-user-pipeline.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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.
The service principal ID to create the credential for.
The ServicePrincipalServiceCreateCredentialRequest message.
A list of CIDRs to restrict this credential to. Accepts IPv4 (e.g. 10.0.0.0/24) or IPv6 (e.g. 2001:db8::/32) CIDRs.
The display name for the new credential.
If true, requires DPoP proof-of-possession for token exchange using this credential.
The list of roles to restrict the credential to.
Successful response