Key Manager API.

This API allows you to create, manage and use cryptographic keys in a centralized and secure service.

Hierarchy

  • API
    • API

Constructors

Properties

LOCALITIES: Region[] = ...

Lists the available regions of the API.

Methods

  • Generate a data encryption key. Generate a new data encryption key to use for cryptographic operations outside of Key Manager. Note that Key Manager does not store your data encryption key. The data encryption key is encrypted and must be decrypted using the key you have created in Key Manager. The data encryption key's plaintext is returned in the response object, for immediate usage.

    Always store the data encryption key's ciphertext, rather than its plaintext, which must not be stored. To retrieve your key's plaintext, call the Decrypt endpoint with your key's ID and ciphertext.

    Parameters

    Returns Promise<DataKey>

    A Promise of DataKey