ImportKeyOptions interface

An interface representing the optional parameters that can be passed to importKey(string, JsonWebKey_2, ImportKeyOptions)

Extends

Properties

enabled

Determines whether the object is enabled.

expiresOn

Expiry date in UTC.

exportable

Indicates whether the private key can be exported.

hardwareProtected

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

notBefore

Not before date in UTC.

releasePolicy

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

tags

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

Inherited Properties

abortSignal

The signal which can be used to abort requests.

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

requestOptions

Options used when creating and sending HTTP requests for this operation.

serializerOptions

Options to override serialization/de-serialization behavior.

tracingOptions

Options used when tracing is enabled.

Property Details

enabled

Determines whether the object is enabled.

enabled?: boolean

Property Value

boolean

expiresOn

Expiry date in UTC.

expiresOn?: Date

Property Value

Date

exportable

Indicates whether the private key can be exported.

exportable?: boolean

Property Value

boolean

hardwareProtected

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

hardwareProtected?: boolean

Property Value

boolean

notBefore

Not before date in UTC.

notBefore?: Date

Property Value

Date

releasePolicy

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

releasePolicy?: KeyReleasePolicy

Property Value

tags

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

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

Property Value

{[propertyName: string]: string}

Inherited Property Details

abortSignal

The signal which can be used to abort requests.

abortSignal?: AbortSignalLike

Property Value

Inherited From coreClient.OperationOptions.abortSignal

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

onResponse?: RawResponseCallback

Property Value

Inherited From coreClient.OperationOptions.onResponse

requestOptions

Options used when creating and sending HTTP requests for this operation.

requestOptions?: OperationRequestOptions

Property Value

Inherited From coreClient.OperationOptions.requestOptions

serializerOptions

Options to override serialization/de-serialization behavior.

serializerOptions?: SerializerOptions

Property Value

Inherited From coreClient.OperationOptions.serializerOptions

tracingOptions

Options used when tracing is enabled.

tracingOptions?: OperationTracingOptions

Property Value

Inherited From coreClient.OperationOptions.tracingOptions