更新时间:2022-02-22 GMT+08:00

加密密钥管理

API

API功能项

授权项

POST /v1.0/{project_id}/kms/create-key

创建密钥

kms:cmk:create

POST /v1.0/{project_id}/kms/enable-key

启用密钥

kms:cmk:enable

POST /v1.0/{project_id}/kms/disable-key

禁用密钥

kms:cmk:disable

POST /v1.0/{project_id}/kms/schedule-key-deletion

计划删除密钥

kms:cmk:update

POST /v1.0/{project_id}/kms/cancel-key-deletion

取消计划删除密钥

kms:cmk:update

POST /v1.0/{project_id}/kms/list-keys

查询密钥列表

kms:cmk:list

POST /v1.0/{project_id}/kms/describe-key

查询密钥信息

kms:cmk:get

POST /v1.0/{project_id}/kms/gen-random

创建随机数

kms:cmk:generate

POST /v1.0/{project_id}/kms/create-datakey

创建数据密钥

kms:dek:create

POST /v1.0/{project_id}/kms/create-datakey-without-plaintext

创建不含明文数据密钥

kms:dek:create

POST /v1.0/{project_id}/kms/encrypt-datakey

加密数据密钥

kms:dek:crypto

POST /v1.0/{project_id}/kms/decrypt-datakey

解密数据密钥

kms:dek:crypto

GET /v1.0/{project_id}/kms/user-instances

查询实例数

kms:cmk:getInstance

GET /v1.0/{project_id}/kms/user-quotas

查询配额

kms:cmk:getQuota

POST /v1.0/{project_id}/kms/update-key-alias

修改密钥别名

kms:cmk:update

POST /v1.0/{project_id}/kms/update-key-description

修改密钥描述

kms:cmk:update

POST /v1.0/{project_id}/kms/encrypt-data

加密数据

kms:cmk:crypto

POST /v1.0/{project_id}/kms/decrypt-data

解密数据

kms:cmk:crypto

POST /v1.0/{project_id}/kms/get-parameters-for-import

获取密钥导入参数

kms:cmk:getMaterial

POST /v1.0/{project_id}/kms/import-key-material

导入密钥材料

kms:cmk:importMaterial

POST /v1.0/{project_id}/kms/delete-imported-key-material

删除密钥材料

kms:cmk:deleteMaterial

POST /v1.0/{project_id}/kms/resource_instances/action

查询密钥实例

kms:cmkTag:listInstance

GET /v1.0/{project_id}/kms/{key_id}/tags

查询密钥标签

kms:cmkTag:list

GET /v1.0/{project_id}/kms/tags

查询项目标签

kms:cmkTag:list

POST /v1.0/{project_id}/kms/{key_id}/tags/action

批量添加删除密钥标签

kms:cmkTag:batch

POST /v1.0/{project_id}/kms/{key_id}/tags

添加密钥标签

kms:cmkTag:create

POST /v1.0/{project_id}/kms/{ key_id }/tags/{key}

删除密钥标签

kms:cmkTag:delete