检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
描述 versions Array of ApiVersionDetail objects 描述version 相关对象的列表,详情请参见 versions字段数据结构说明。 表2 ApiVersionDetail 参数 参数类型 描述 id String 版本ID(版本号),如“v1
并将生成的密钥材料以“PlaintextKeyMaterial.bin”命名保存。 AES256对称密钥 openssl rand -out PlaintextKeyMaterial.bin 32 SM4国密 openssl rand -out PlaintextKeyMaterial
参数类型 描述 version Object 描述version 对象的列表,详情请参见 ApiVersionDetail字段数据结构说明。 表3 ApiVersionDetail 参数 参数类型 描述 id String 版本ID(版本号),如“v1.0”。 links Array of
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
keystore_id String 密钥库ID domain_id String 用户域ID 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error Object 错误信息返回体。 表7 ErrorDetail 参数 参数类型 描述 error_code String
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
描述 key_id String 密钥ID。 domain_id String 用户域ID。 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error Object 错误信息返回体。 表7 ErrorDetail 参数 参数类型 描述 error_code String
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
String 标签值。 状态码: 400 表11 响应Body参数 参数 参数类型 描述 error ErrorDetail object 错误信息返回体。 表12 ErrorDetail 参数 参数类型 描述 error_code String 错误请求返回的错误码 error_msg String
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
创建凭据 表1 凭据配置参数说明 参数名称 参数说明 凭据类型 创建凭据类型,默认通用凭据。 凭据名称 待创建凭据的名称。 说明: 仅支持输入英文字符、数字、“-”、“_”。 企业项目 该参数针对企业用户使用。如果您是企业用户,且已创建企业项目,则请从下拉列表中为密钥选择需要绑定的企业项目,默认项目为“default”。
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
resource_detail KeyDetails object 密钥详情。 resource_name String 资源名称,默认为空字符串。 tags Array of TagItem objects 标签列表,没有标签,数组默认为空。 表8 KeyDetails 参数 参数类型
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great