ID of the client.
Optional
requestOptions: Credentials.RequestOptionsRequest-specific configuration.
Create a client credential associated to your application. Credentials can be used to configure Private Key JWT and mTLS authentication methods, as well as for JWT-secured Authorization requests.
Sample:
{
"credential_type": "public_key",
"name": "string",
"pem": "string",
"alg": "RS256",
"parse_expiry_from_cert": false,
"expires_at": "2022-12-31T23:59:59Z"
}
CA-signed Certificate Sample (pem):
{
"credential_type": "x509_cert",
"name": "string",
"pem": "string"
}
CA-signed Certificate Sample (subject_dn): {
"credential_type": "cert_subject_dn",
"name": "string",
"subject_dn": "string"
}
Self-signed Certificate Sample: {
"credential_type": "cert_subject_dn",
"name": "string",
"pem": "string"
}
The credential will be created but not yet enabled for use until you set the corresponding properties in the client:
client_authentication_methods
property on the client. For more information, read Configure Private Key JWT Authentication and Configure mTLS Authenticationsigned_request_object
property on the client. For more information, read Configure JWT-secured Authorization Requests (JAR)ID of the client.
Optional
requestOptions: Credentials.RequestOptionsRequest-specific configuration.
Get the details of a client credential.
Important: To enable credentials to be used for a client authentication method, set the client_authentication_methods
property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the signed_request_object
property on the client.
ID of the client.
ID of the credential.
Optional
requestOptions: Credentials.RequestOptionsRequest-specific configuration.
Delete a client credential you previously created. May be enabled or disabled. For more information, read Client Credential Flow.
ID of the client.
ID of the credential to delete.
Optional
requestOptions: Credentials.RequestOptionsRequest-specific configuration.
Change a client credential you previously created. May be enabled or disabled. For more information, read Client Credential Flow.
ID of the client.
ID of the credential.
Optional
requestOptions: Credentials.RequestOptionsRequest-specific configuration.
Protected
_
Get the details of a client credential.
Important: To enable credentials to be used for a client authentication method, set the
client_authentication_methods
property on the client. To enable credentials to be used for JWT-Secured Authorization requests set thesigned_request_object
property on the client.