public class SsmClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION| Constructor and Description | 
|---|
| SsmClient(Credential credential,
         String region) | 
| SsmClient(Credential credential,
         String region,
         ClientProfile profile) | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateProductSecretResponse | CreateProductSecret(CreateProductSecretRequest req)This API is used to create a Tencent Cloud service credential. | 
| CreateSecretResponse | CreateSecret(CreateSecretRequest req)This API is used to create a KMS-encrypted Secret. | 
| CreateSSHKeyPairSecretResponse | CreateSSHKeyPairSecret(CreateSSHKeyPairSecretRequest req)This API is used to create a secret that hosts SSH keys. | 
| DeleteSecretResponse | DeleteSecret(DeleteSecretRequest req)This API is used to delete a Secret. | 
| DeleteSecretVersionResponse | DeleteSecretVersion(DeleteSecretVersionRequest req)This API is used to directly delete a single credential version under the specified credential. | 
| DescribeAsyncRequestInfoResponse | DescribeAsyncRequestInfo(DescribeAsyncRequestInfoRequest req)This API is used to query the execution result of an async task. | 
| DescribeRotationDetailResponse | DescribeRotationDetail(DescribeRotationDetailRequest req)This API is used to query the details of a credential rotation policy. | 
| DescribeRotationHistoryResponse | DescribeRotationHistory(DescribeRotationHistoryRequest req)This API is used to query the historical versions of a rotated credential. | 
| DescribeSecretResponse | DescribeSecret(DescribeSecretRequest req)This API is used to obtain the detailed attribute information of a Secret. | 
| DescribeSupportedProductsResponse | DescribeSupportedProducts(DescribeSupportedProductsRequest req)This API is used to query the list of supported Tencent Cloud services. | 
| DisableSecretResponse | DisableSecret(DisableSecretRequest req)This API is used to disable a Secret and will change its status to `Disabled`. | 
| EnableSecretResponse | EnableSecret(EnableSecretRequest req)This API is used to enable a Secret and will change its status to `Enabled`. | 
| GetRegionsResponse | GetRegions(GetRegionsRequest req)This API is used to obtain the list of regions displayed on Console. | 
| GetSecretValueResponse | GetSecretValue(GetSecretValueRequest req)For user-defined credentials, this API is used to get the plaintext information of a credential by specifying the credential name and version. | 
| GetServiceStatusResponse | GetServiceStatus(GetServiceStatusRequest req)This API is used to obtain the SecretsManager service status of a user. | 
| GetSSHKeyPairValueResponse | GetSSHKeyPairValue(GetSSHKeyPairValueRequest req)This API is used to obtain the plaintext value of the SSH key secret. | 
| ListSecretsResponse | ListSecrets(ListSecretsRequest req)This API is used to obtain the detailed information list of all Secrets. | 
| ListSecretVersionIdsResponse | ListSecretVersionIds(ListSecretVersionIdsRequest req)This API is used to obtain list of versions of a Secret. | 
| PutSecretValueResponse | PutSecretValue(PutSecretValueRequest req)This API adds the new version of the credential content under the specified credential. | 
| RestoreSecretResponse | RestoreSecret(RestoreSecretRequest req)This API is used to restore a `PendingDelete` Secret, canceling its scheduled deletion. | 
| RotateProductSecretResponse | RotateProductSecret(RotateProductSecretRequest req)This API is used to rotate secrets for Tencent Cloud services or Tencent Cloud API key pairs. | 
| UpdateDescriptionResponse | UpdateDescription(UpdateDescriptionRequest req)This API is used to update the description of a Secret. | 
| UpdateRotationStatusResponse | UpdateRotationStatus(UpdateRotationStatusRequest req)This API is used to set a Tencent Cloud service credential rotation policy, including the following parameters:
Specifies whether to enable rotation
Rotation frequency
Rotation start time | 
| UpdateSecretResponse | UpdateSecret(UpdateSecretRequest req)This API is used to update the credential content of the specified credential name and version number. | 
call, callOctetStream, getClientProfile, getCredential, getRegion, getRegionBreaker, internalRequest, internalRequest, internalRequestRaw, processResponseJson, processResponseSSE, retry, setClientProfile, setCredential, setRegion, setRegionBreakerpublic SsmClient(Credential credential, String region)
public SsmClient(Credential credential, String region, ClientProfile profile)
public CreateProductSecretResponse CreateProductSecret(CreateProductSecretRequest req) throws TencentCloudSDKException
req - CreateProductSecretRequestTencentCloudSDKExceptionpublic CreateSSHKeyPairSecretResponse CreateSSHKeyPairSecret(CreateSSHKeyPairSecretRequest req) throws TencentCloudSDKException
req - CreateSSHKeyPairSecretRequestTencentCloudSDKExceptionpublic CreateSecretResponse CreateSecret(CreateSecretRequest req) throws TencentCloudSDKException
req - CreateSecretRequestTencentCloudSDKExceptionpublic DeleteSecretResponse DeleteSecret(DeleteSecretRequest req) throws TencentCloudSDKException
req - DeleteSecretRequestTencentCloudSDKExceptionpublic DeleteSecretVersionResponse DeleteSecretVersion(DeleteSecretVersionRequest req) throws TencentCloudSDKException
req - DeleteSecretVersionRequestTencentCloudSDKExceptionpublic DescribeAsyncRequestInfoResponse DescribeAsyncRequestInfo(DescribeAsyncRequestInfoRequest req) throws TencentCloudSDKException
req - DescribeAsyncRequestInfoRequestTencentCloudSDKExceptionpublic DescribeRotationDetailResponse DescribeRotationDetail(DescribeRotationDetailRequest req) throws TencentCloudSDKException
req - DescribeRotationDetailRequestTencentCloudSDKExceptionpublic DescribeRotationHistoryResponse DescribeRotationHistory(DescribeRotationHistoryRequest req) throws TencentCloudSDKException
req - DescribeRotationHistoryRequestTencentCloudSDKExceptionpublic DescribeSecretResponse DescribeSecret(DescribeSecretRequest req) throws TencentCloudSDKException
req - DescribeSecretRequestTencentCloudSDKExceptionpublic DescribeSupportedProductsResponse DescribeSupportedProducts(DescribeSupportedProductsRequest req) throws TencentCloudSDKException
req - DescribeSupportedProductsRequestTencentCloudSDKExceptionpublic DisableSecretResponse DisableSecret(DisableSecretRequest req) throws TencentCloudSDKException
req - DisableSecretRequestTencentCloudSDKExceptionpublic EnableSecretResponse EnableSecret(EnableSecretRequest req) throws TencentCloudSDKException
req - EnableSecretRequestTencentCloudSDKExceptionpublic GetRegionsResponse GetRegions(GetRegionsRequest req) throws TencentCloudSDKException
req - GetRegionsRequestTencentCloudSDKExceptionpublic GetSSHKeyPairValueResponse GetSSHKeyPairValue(GetSSHKeyPairValueRequest req) throws TencentCloudSDKException
req - GetSSHKeyPairValueRequestTencentCloudSDKExceptionpublic GetSecretValueResponse GetSecretValue(GetSecretValueRequest req) throws TencentCloudSDKException
req - GetSecretValueRequestTencentCloudSDKExceptionpublic GetServiceStatusResponse GetServiceStatus(GetServiceStatusRequest req) throws TencentCloudSDKException
req - GetServiceStatusRequestTencentCloudSDKExceptionpublic ListSecretVersionIdsResponse ListSecretVersionIds(ListSecretVersionIdsRequest req) throws TencentCloudSDKException
req - ListSecretVersionIdsRequestTencentCloudSDKExceptionpublic ListSecretsResponse ListSecrets(ListSecretsRequest req) throws TencentCloudSDKException
req - ListSecretsRequestTencentCloudSDKExceptionpublic PutSecretValueResponse PutSecretValue(PutSecretValueRequest req) throws TencentCloudSDKException
req - PutSecretValueRequestTencentCloudSDKExceptionpublic RestoreSecretResponse RestoreSecret(RestoreSecretRequest req) throws TencentCloudSDKException
req - RestoreSecretRequestTencentCloudSDKExceptionpublic RotateProductSecretResponse RotateProductSecret(RotateProductSecretRequest req) throws TencentCloudSDKException
req - RotateProductSecretRequestTencentCloudSDKExceptionpublic UpdateDescriptionResponse UpdateDescription(UpdateDescriptionRequest req) throws TencentCloudSDKException
req - UpdateDescriptionRequestTencentCloudSDKExceptionpublic UpdateRotationStatusResponse UpdateRotationStatus(UpdateRotationStatusRequest req) throws TencentCloudSDKException
req - UpdateRotationStatusRequestTencentCloudSDKExceptionpublic UpdateSecretResponse UpdateSecret(UpdateSecretRequest req) throws TencentCloudSDKException
req - UpdateSecretRequestTencentCloudSDKExceptionCopyright © 2025. All rights reserved.