Options
All
  • Public
  • Public/Protected
  • All
Menu

Options to control private keys used for the Certificate.

schema

CertificateSpecPrivateKey

Hierarchy

  • CertificateSpecPrivateKey

Index

Properties

Optional Readonly algorithm

Algorithm is the private key algorithm of the corresponding private key for this certificate. If provided, allowed values are either RSA,Ed25519 or ECDSA If algorithm is specified and size is not provided, key size of 256 will be used for ECDSA key algorithm and key size of 2048 will be used for RSA key algorithm. key size is ignored when using the Ed25519 key algorithm.

schema

CertificateSpecPrivateKey#algorithm

Optional Readonly encoding

The private key cryptography standards (PKCS) encoding for this certificate's private key to be encoded in. If provided, allowed values are PKCS1 and PKCS8 standing for PKCS#1 and PKCS#8, respectively. Defaults to PKCS1 if not specified.

default

PKCS1` if not specified.

schema

CertificateSpecPrivateKey#encoding

Optional Readonly rotationPolicy

rotationPolicy: string

RotationPolicy controls how private keys should be regenerated when a re-issuance is being processed. If set to Never, a private key will only be generated if one does not already exist in the target spec.secretName. If one does exists but it does not have the correct algorithm or size, a warning will be raised to await user intervention. If set to Always, a private key matching the specified requirements will be generated whenever a re-issuance occurs. Default is 'Never' for backward compatibility.

default

Never' for backward compatibility.

schema

CertificateSpecPrivateKey#rotationPolicy

Optional Readonly size

size: number

Size is the key bit size of the corresponding private key for this certificate. If algorithm is set to RSA, valid values are 2048, 4096 or 8192, and will default to 2048 if not specified. If algorithm is set to ECDSA, valid values are 256, 384 or 521, and will default to 256 if not specified. If algorithm is set to Ed25519, Size is ignored. No other values are allowed.

schema

CertificateSpecPrivateKey#size

Generated using TypeDoc