检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 tags Array of Tag objects 标签列表,key和value键值对的集合。 key:表示标签键,一个密钥下最多包含10个key,key不能为空,不能重复,同一个key中value不能重复。key最大长度为36个字符。
局点项目ID,获取方式请参见获取项目ID。 KMS_ENDPOINT: 华为云KMS服务访问终端地址,获取方式请参见终端节点。 认证用的ak和sk直接写到代码中有很大的安全风险,建议在配置文件或者环境变量中密文存放,使用时解密,确保安全。 本示例以ak和sk保存在环境变量中来实现身份验证为例,运行本示例前请先在本地
200 表3 响应Body参数 参数 参数类型 描述 tags Array of TagResponse objects 标签列表,key和value键值对的集合。 key:表示标签键,一个凭据下最多包含20个key,key不能为空,不能重复,同一个key中value不能重复。key最大长度为128个字符。
状态码: 200 表3 响应Body参数 参数 参数类型 描述 tags Array of TagItem objects 标签列表,key和value键值对的集合。 key:表示标签键,一个密钥下最多包含10个key,key不能为空,不能重复,同一个key中value不能重复。key最大长度为36个字符。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
c3c6524cff 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 key_id String 密钥ID。 cipher_text String 加密后的密文,使用了Base64编码 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error
Explorer的代码示例页签,可生成自动对应的SDK代码示例。 状态码 状态码 描述 200 请求成功 400 请求参数有误 401 被请求的页面需要用户名和密码 403 被请求的页面需要用户名和密码 404 资源不存在,资源未找到 500 服务内部错误 502 请求未完成。服务器从上游服务器收到一个无效的响应 504
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
of strings 待删除的别名 key_id 是 String 别名关联的密钥ID 响应参数 无 请求示例 删除别名为kms-1234和kms-4567, 关联的密钥为bb6a3d22-dc93-47ac-b5bd-88df7ad35f1e { "key_id" : "b
PT”,非对称密钥默认为“SIGN_VERIFY”,枚举如下: ENCRYPT_DECRYPT SIGN_VERIFY key_description 否 String 密钥描述,取值0到255字符。 origin 否 String 密钥来源,默认为“kms”,枚举如下: kms:表示密钥材料由kms生成。
MultiUser:指定轮转类型为双用户模式轮转,SYSCURRENT和SYSPREVIOUS分别引用其中一个账号。凭据轮转时,SYSPREVIOUS引用的账号口令会被重置为新的随机口令,随后凭据交换SYSCURRENT和SYSPREVIOUS对账号的引用。 rotation_time
华为云账号Secret Access Key, 敏感信息,建议密文存储 * - IAM_ENDPOINT: 华为云IAM服务访问终端地址,详情见https://developer.huaweicloud.com/endpoint?IAM * - KMS_REGION_ID:
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
KMS.2201 Invalid cipher_text. cipher_text数据密钥密文非法。 请传递正确的参数。 400 KMS.2202 datakey_cipher_length must be 64 bytes. datakey_cipher_length数据密钥密文长度需等于64字节。