检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
final String REGION = "<region>"; private static final String KEYID = "<keyId>"; public static final String ENDPOINT = "<endpoint>";
表5 KeyDetails 参数 参数类型 描述 key_id String 密钥ID。 domain_id String 用户域ID。 key_alias String 密钥别名。 realm String 密钥区域。 key_spec String 密钥生成算法。
表5 Secret 参数 参数类型 描述 id String 凭据的资源标识符。 name String 凭据名称。
用户域ID keystore_alias String 密钥库别名 keystore_type String 密钥库类型 hsm_cluster_id String DHSM集群id,要求集群当前未创建专属密钥库 create_time String 密钥库创建时间,UTC时间戳
表4 Secret 参数 参数类型 描述 id String 凭据的资源标识符。 name String 凭据名称。
enterprise_project_id String 企业项目ID rotation_func_urn String FunctionGraph函数的urn。 表9 TagItem 参数 参数类型 描述 key String 标签的名称。
表5 Notification 参数 参数类型 描述 target_type String 事件通知的对象类型。 target_id String 事件通知的对象ID。 target_name String 事件通知的对象名称。
secret_name String 凭据名称。 version_id String 凭据的版本号标识符。
final String MGF1 = "MGF1"; private static final String HELLO_WORLD = "hello world!"
表5 Secret 参数 参数类型 描述 id String 凭据的资源标识符。 name String 凭据名称。
static final String REGION_1 = "<region1>"; private static final String KEYID_1 = "<keyId1>"; public static final String PROJECT_ID_
是 String 用户Token。
URI POST /v1.0/{project_id}/keystores/{keystore_id}/disable 表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
详情参见KeystoreDetails 表5 KeystoreDetails 参数 参数类型 描述 keystore_id String 密钥库ID domain_id String 用户域ID keystore_alias String 密钥库别名 keystore_type String
String 错误描述 状态码: 403 表5 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 404 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码
SSH密钥对的名称 type 否 String SSH密钥对的类型,值为“ssh”或“x509” scope 否 String 租户级或者用户级。
表5 Secret 参数 参数类型 描述 id String 凭据的资源标识符。 name String 凭据名称。
表4 Secret 参数 参数类型 描述 id String 凭据的资源标识符。 name String 凭据名称。
表7 Notification 参数 参数类型 描述 target_type String 事件通知的对象类型。 target_id String 事件通知的对象ID。 target_name String 事件通知的对象名称。