检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
表4 Secret 参数 参数类型 描述 id String 凭据的资源标识符。 name String 凭据名称。
是 String 用户Token。
表5 Notification 参数 参数类型 描述 target_type String 事件通知的对象类型。 target_id String 事件通知的对象ID。 target_name String 事件通知的对象名称。
String 错误描述 状态码: 500 表11 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 502 表12 响应Body参数 参数 参数类型 描述 error_code String
final String MGF1 = "MGF1"; private static final String HELLO_WORLD = "hello world!"
表5 Secret 参数 参数类型 描述 id String 凭据的资源标识符。 name String 凭据名称。
action 是 String 操作标识: 仅限于“create”和“delete”。 sequence 否 String 请求消息序列号,36字节序列号。
hsm_cluster_id 是 String DHSM集群Id,要求集群当前未创建专属密钥库。
是 String 用户Token。
状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表5 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String
notification_target_name String 事件通知的对象名称。 notification_target_id String 事件通知的对象ID。 notification_content String 事件通知的内容。
表6 Notification 参数 参数类型 描述 target_type String 事件通知的对象类型。 target_id String 事件通知的对象ID。 target_name String 事件通知的对象名称。
是 String 用户Token。
URI POST /v1.0/{project_id}/keystores/{keystore_id}/disable 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID keystore_id 是 String 密钥库ID 请求参数
URI POST /v1.0/{project_id}/keystores/{keystore_id}/enable 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID keystore_id 是 String 密钥库ID 请求参数 表
DEW */ private static final String ACCESS_KEY = System.getenv("HUAWEICLOUD_SDK_AK"); private static final String SECRET_ACCESS_KEY
X-Auth-Token 是 String 用户Token。
SYSCURRENT"; private static final String HW_PENDING_STAGE = "HW_PENDING"; public static void main(String[] args) { String secretName
\s)$" value 否 String 标签的值。
状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表5 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String