OptionalnameFriendly name for a credential.
Optionalsubject_Subject Distinguished Name. Mutually exclusive with pem property. Applies to cert_subject_dn credential type.
OptionalpemPEM-formatted public key (SPKI and PKCS1) or X509 certificate. Must be JSON escaped.
OptionalalgOptionalparse_Parse expiry from x509 certificate. If true, attempts to parse the expiry date from the provided PEM. Applies to public_key credential type.
Optionalexpires_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.
Example