检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
request = RotateSecretRequest() request.secret_name = "{secret_name}" response = client.rotate_secret(request)
.build(); CreateSecretTagRequest request = new CreateSecretTagRequest(); request.withSecretId("{secret_id}"); Creat
4a37f"); request.withBody(body); try { ListGrantsResponse response = client.listGrants(request); System
request.withBody(body); try { CreateSecretEventResponse response = client.createSecretEvent(request);
BatchCreateOrDeleteTagsRequest request = new BatchCreateOrDeleteTagsRequest(); request.withSecretId("{secret_id}"); B
request = DeleteKeyStoreRequest() request.keystore_id = "{keystore_id}" response = client.delete_key_store(request)
request = EnableKeyStoreRequest() request.keystore_id = "{keystore_id}" response = client.enable_key_store(request)
build(); BatchCreateKmsTagsRequest request = new BatchCreateKmsTagsRequest(); request.withKeyId("{key_id}"); BatchCrea
.build(); UpdateSecretRequest request = new UpdateSecretRequest(); request.withSecretName("{secret_name}"); Up
request.withBody(body); try { CancelKeyDeletionResponse response = client.cancelKeyDeletion(request);
ListFailedTaskRequest request = new ListFailedTaskRequest(); try { ListFailedTaskResponse response = client.listFailedTask(request);
build() try: request = DeleteAllFailedTaskRequest() response = client.delete_all_failed_task(request) print(response)
withLimit("2"); request.withBody(body); try { ListKeysResponse response = client.listKeys(request); System
try: request = ShowKmsTagsRequest() request.key_id = "{key_id}" response = client.show_kms_tags(request) print(response)
request.withBody(body); try { EnableKeyRotationResponse response = client.enableKeyRotation(request);
约束:secret_binary和secret_string必须且只能设置一个,最大32K。 secret_string 否 String 文本类型凭据的明文,凭据管理服务将其加密后,存入凭据的初始版本中。 约束:secret_binary和secret_string必须且只能设置一个,最大32K。 secret_type
request = ShowKeyStoreRequest() request.keystore_id = "{keystore_id}" response = client.show_key_store(request)
512"); request.withBody(body); try { CreateRandomResponse response = client.createRandom(request); System
build(); DownloadSecretBlobRequest request = new DownloadSecretBlobRequest(); request.withSecretName("{secret_name}");
ody); request.withBody(body); try { CreateKeypairResponse response = client.createKeypair(request); System