| Package | Description |
|---|---|
| com.amazonaws.services.secretsmanager |
|
| com.amazonaws.services.secretsmanager.model |
| Modifier and Type | Method and Description |
|---|---|
Future<CreateSecretResult> |
AbstractAWSSecretsManagerAsync.createSecretAsync(CreateSecretRequest request,
AsyncHandler<CreateSecretRequest,CreateSecretResult> asyncHandler) |
Future<CreateSecretResult> |
AWSSecretsManagerAsyncClient.createSecretAsync(CreateSecretRequest request,
AsyncHandler<CreateSecretRequest,CreateSecretResult> asyncHandler) |
Future<CreateSecretResult> |
AWSSecretsManagerAsync.createSecretAsync(CreateSecretRequest createSecretRequest,
AsyncHandler<CreateSecretRequest,CreateSecretResult> asyncHandler)
Creates a new secret.
|
| Modifier and Type | Method and Description |
|---|---|
CreateSecretRequest |
CreateSecretRequest.clone() |
CreateSecretRequest |
CreateSecretRequest.withAddReplicaRegions(Collection<ReplicaRegionType> addReplicaRegions)
A list of Regions and KMS keys to replicate secrets.
|
CreateSecretRequest |
CreateSecretRequest.withAddReplicaRegions(ReplicaRegionType... addReplicaRegions)
A list of Regions and KMS keys to replicate secrets.
|
CreateSecretRequest |
CreateSecretRequest.withClientRequestToken(String clientRequestToken)
If you include
SecretString or SecretBinary, then Secrets Manager creates an initial
version for the secret, and this parameter specifies the unique identifier for the new version. |
CreateSecretRequest |
CreateSecretRequest.withDescription(String description)
The description of the secret.
|
CreateSecretRequest |
CreateSecretRequest.withForceOverwriteReplicaSecret(Boolean forceOverwriteReplicaSecret)
Specifies whether to overwrite a secret with the same name in the destination Region.
|
CreateSecretRequest |
CreateSecretRequest.withKmsKeyId(String kmsKeyId)
The ARN, key ID, or alias of the KMS key that Secrets Manager uses to encrypt the secret value in the secret.
|
CreateSecretRequest |
CreateSecretRequest.withName(String name)
The name of the new secret.
|
CreateSecretRequest |
CreateSecretRequest.withSecretBinary(ByteBuffer secretBinary)
The binary data to encrypt and store in the new version of the secret.
|
CreateSecretRequest |
CreateSecretRequest.withSecretString(String secretString)
The text data to encrypt and store in this new version of the secret.
|
CreateSecretRequest |
CreateSecretRequest.withTags(Collection<Tag> tags)
A list of tags to attach to the secret.
|
CreateSecretRequest |
CreateSecretRequest.withTags(Tag... tags)
A list of tags to attach to the secret.
|
Copyright © 2023. All rights reserved.