Class: Aws::SecretsManager::Types::CreateSecretResponse

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-secretsmanager/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the new secret. The ARN includes the name of the secret followed by six random characters. This ensures that if you create a new secret with the same name as a deleted secret, then users with access to the old secret don’t get access to the new secret because the ARNs are different.

Returns:

  • (String)


351
352
353
354
355
356
357
358
# File 'lib/aws-sdk-secretsmanager/types.rb', line 351

class CreateSecretResponse < Struct.new(
  :arn,
  :name,
  :version_id,
  :replication_status)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the new secret.

Returns:

  • (String)


351
352
353
354
355
356
357
358
# File 'lib/aws-sdk-secretsmanager/types.rb', line 351

class CreateSecretResponse < Struct.new(
  :arn,
  :name,
  :version_id,
  :replication_status)
  SENSITIVE = []
  include Aws::Structure
end

#replication_statusArray<Types::ReplicationStatusType>

A list of the replicas of this secret and their status:

  • ‘Failed`, which indicates that the replica was not created.

  • ‘InProgress`, which indicates that Secrets Manager is in the process of creating the replica.

  • ‘InSync`, which indicates that the replica was created.

Returns:



351
352
353
354
355
356
357
358
# File 'lib/aws-sdk-secretsmanager/types.rb', line 351

class CreateSecretResponse < Struct.new(
  :arn,
  :name,
  :version_id,
  :replication_status)
  SENSITIVE = []
  include Aws::Structure
end

#version_idString

The unique identifier associated with the version of the new secret.

Returns:

  • (String)


351
352
353
354
355
356
357
358
# File 'lib/aws-sdk-secretsmanager/types.rb', line 351

class CreateSecretResponse < Struct.new(
  :arn,
  :name,
  :version_id,
  :replication_status)
  SENSITIVE = []
  include Aws::Structure
end