Auth0 Node.js SDK - v5.0.0
    Preparing search index...

    Interface PublicKeyCredential

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

    Properties

    credential_type: "public_key"
    name?: string

    Friendly name for a credential.

    pem: string

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

    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.

    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.