Back to Node Auth0

Interface PublicKeyCredential

docs/interfaces/management.Management.PublicKeyCredential.html

5.9.12.2 KB
Original Source

Interface PublicKeyCredential

interface PublicKeyCredential {
credential_type: "public_key";
name?: string;
pem: string;
alg?: Management.PublicKeyCredentialAlgorithmEnum;
parse_expiry_from_cert?: boolean;
expires_at?: string;
kid?: string;
}

Index

Properties

credential_typename?pemalg?parse_expiry_from_cert?expires_at?kid?

Properties

credential_type

credential_type: "public_key"

Optionalname

name?: string

Friendly name for a credential.

pem

pem: string

PEM-formatted public key (SPKI and PKCS1) or X509 certificate. Must be JSON escaped.

Optionalalg

alg?: Management.PublicKeyCredentialAlgorithmEnum

Optionalparse_expiry_from_cert

parse_expiry_from_cert?: boolean

Parse expiry from x509 certificate. If true, attempts to parse the expiry date from the provided PEM. Applies to public_key credential type.

Optionalexpires_at

expires_at?: string

The ISO 8601 formatted date representing the expiration of the credential. If not specified (not recommended), the credential never expires. Applies to public_key credential type.

Optionalkid

kid?: string

Optional kid (Key ID), used to uniquely identify the credential. If not specified, a kid value will be auto-generated. The kid header parameter in JWTs sent by your client should match this value. Valid format is [0-9a-zA-Z-_]{10,64}

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties credential_typenamepemalgparse_expiry_from_certexpires_atkid