| Package | Description |
|---|---|
| com.amazonaws.services.secretsmanager |
|
| com.amazonaws.services.secretsmanager.model |
| Modifier and Type | Method and Description |
|---|---|
Future<CreateSecretResult> |
AWSSecretsManagerAsyncClient.createSecretAsync(CreateSecretRequest request,
AsyncHandler<CreateSecretRequest,CreateSecretResult> asyncHandler) |
Future<CreateSecretResult> |
AbstractAWSSecretsManagerAsync.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.withClientRequestToken(String clientRequestToken)
(Optional) If you include
SecretString or SecretBinary, then an initial version is
created as part of the secret, and this parameter specifies a unique identifier for the new version. |
CreateSecretRequest |
CreateSecretRequest.withDescription(String description)
(Optional) Specifies a user-provided description of the secret.
|
CreateSecretRequest |
CreateSecretRequest.withKmsKeyId(String kmsKeyId)
(Optional) Specifies the ARN or alias of the AWS KMS customer master key (CMK) to be used to encrypt the
SecretString or SecretBinary values in the versions stored in this secret. |
CreateSecretRequest |
CreateSecretRequest.withName(String name)
Specifies the friendly name of the new secret.
|
CreateSecretRequest |
CreateSecretRequest.withSecretBinary(ByteBuffer secretBinary)
(Optional) Specifies binary data that you want to encrypt and store in the new version of the secret.
|
CreateSecretRequest |
CreateSecretRequest.withSecretString(String secretString)
(Optional) Specifies text data that you want to encrypt and store in this new version of the secret.
|
CreateSecretRequest |
CreateSecretRequest.withTags(Collection<Tag> tags)
(Optional) Specifies a list of user-defined tags that are attached to the secret.
|
CreateSecretRequest |
CreateSecretRequest.withTags(Tag... tags)
(Optional) Specifies a list of user-defined tags that are attached to the secret.
|
Copyright © 2018. All rights reserved.