Package version:

Interface CreateRsaKeyOptions

An interface representing the optional parameters that can be passed to createRsaKey

Hierarchy

Properties

curve?: string

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

enabled?: boolean

Determines whether the object is enabled.

expiresOn?: any

Expiry date in UTC.

exportable?: boolean

Indicates whether the private key can be exported.

hsm?: boolean

Whether to import as a hardware key (HSM) or software key.

keyOps?: string[]

Json web key operations. For more information on possible key operations, see KeyOperation.

keySize?: number

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

notBefore?: any

Not before date in UTC.

publicExponent?: number

The public exponent for a RSA key.

releasePolicy?: KeyReleasePolicy

A KeyReleasePolicy object specifying the rules under which the key can be exported.

tags?: {
    [propertyName: string]: string;
}

Application specific metadata in the form of key-value pairs.

Type declaration

  • [propertyName: string]: string

Generated using TypeDoc