KeyProperties Class

Properties of the key pair backing a certificate.

Inheritance
KeyProperties

Constructor

KeyProperties(*, exportable: Optional[bool] = None, key_type=None, key_size: Optional[int] = None, reuse_key: Optional[bool] = None, curve=None, **kwargs)

Parameters

exportable
bool
Required

Indicates if the private key can be exported.

key_type
str or JsonWebKeyType
Required

The type of key pair to be used for the certificate. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'

key_size
int
Required

The key size in bits. For example: 2048, 3072, or 4096 for RSA.

reuse_key
bool
Required

Indicates if the same key pair will be used on certificate renewal.

curve
str or JsonWebKeyCurveName
Required

Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K'