docs/interfaces/management.Management.PublicKeyCredential.html
interface PublicKeyCredential {
credential_type: "public_key";
name?: string;
pem: string;
alg?: Management.PublicKeyCredentialAlgorithmEnum;
parse_expiry_from_cert?: boolean;
expires_at?: string;
kid?: string;
}
credential_typename?pemalg?parse_expiry_from_cert?expires_at?kid?
credential_type: "public_key"
Optionalnamename?: string
Friendly name for a credential.
pem: string
PEM-formatted public key (SPKI and PKCS1) or X509 certificate. Must be JSON escaped.
Optionalalgalg?: Management.PublicKeyCredentialAlgorithmEnum
Optionalparse_expiry_from_certparse_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_atexpires_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.
Optionalkidkid?: 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}
Member Visibility
ThemeOSLightDark
Properties credential_typenamepemalgparse_expiry_from_certexpires_atkid