Create a key

更新时间:
复制 MD 格式

Create a key in Cloud-native API Gateway to securely store credentials in Key Management Service (KMS).

Prerequisites

Create a key

  1. Log on to the Cloud-native API Gateway console.

  2. In the left-side navigation pane, choose Key.

  3. In the upper-left corner, click Create key and configure the following parameters.

    Note

    If the service-linked role is not authorized, click Authorization to grant the AliyunServiceRoleForNativeApiGwInvokeKMS service-linked role to Cloud-native API Gateway. service-linked role.

    Configuration Item

    Description

    Key Name

    Name of the key.

    Note

    Must be unique. Supports letters, digits, and underscores (_). Maximum length: 64 characters.

    Credential Source

    Default: KMS.

    KMS Instance

    KMS instance that stores the key.

    KMS Master Key

    KMS master key used for encryption.

    KMS Credential Value

    Credential to encrypt and store. The value is synced to KMS as a credential resource.

  4. Click OK.