docs/classes/management.SDK.EncryptionClient.html
listcreaterekeygetimportdeletecreatePublicWrappingKey
new EncryptionClient(options: BaseClientOptions): EncryptionClient
list(
request?: ListEncryptionKeysRequestParameters,
requestOptions?: EncryptionClient.RequestOptions,
): Promise<
Page<EncryptionKey, ListEncryptionKeyOffsetPaginatedResponseContent>,
>
Retrieve details of all the encryption keys associated with your tenant.
OptionalrequestOptions: EncryptionClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.keys.encryption.list({ page: 1, per_page: 1, include_totals: true })Copy
create(
request: CreateEncryptionKeyRequestContent,
requestOptions?: EncryptionClient.RequestOptions,
): HttpResponsePromise<CreateEncryptionKeyResponseContent>
Create the new, pre-activated encryption key, without the key material.
OptionalrequestOptions: EncryptionClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.keys.encryption.create({ type: "customer-provided-root-key" })Copy
rekey(
requestOptions?: EncryptionClient.RequestOptions,
): HttpResponsePromise<void>
Perform rekeying operation on the key hierarchy.
OptionalrequestOptions: EncryptionClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.keys.encryption.rekey()Copy
get(
kid: string,
requestOptions?: EncryptionClient.RequestOptions,
): HttpResponsePromise<GetEncryptionKeyResponseContent>
Retrieve details of the encryption key with the given ID.
Encryption key ID
OptionalrequestOptions: EncryptionClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.keys.encryption.get("kid")Copy
import(
kid: string,
request: ImportEncryptionKeyRequestContent,
requestOptions?: EncryptionClient.RequestOptions,
): HttpResponsePromise<ImportEncryptionKeyResponseContent>
Import wrapped key material and activate encryption key.
Encryption key ID
OptionalrequestOptions: EncryptionClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.keys.encryption.import("kid", { wrapped_key: "wrapped_key" })Copy
delete(
kid: string,
requestOptions?: EncryptionClient.RequestOptions,
): HttpResponsePromise<void>
Delete the custom provided encryption key with the given ID and move back to using native encryption key.
Encryption key ID
OptionalrequestOptions: EncryptionClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.keys.encryption.delete("kid")Copy
createPublicWrappingKey(
kid: string,
requestOptions?: EncryptionClient.RequestOptions,
): HttpResponsePromise<CreateEncryptionKeyPublicWrappingResponseContent>
Create the public wrapping key to wrap your own encryption key material.
Encryption key ID
OptionalrequestOptions: EncryptionClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.keys.encryption.createPublicWrappingKey("kid")Copy
Protected Readonly_options_options: NormalizedClientOptionsWithAuth<BaseClientOptions>
Member Visibility
ThemeOSLightDark
Constructors constructor Methods listcreaterekeygetimportdeletecreatePublicWrappingKey Properties _options