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)


361
362
363
364
365
366
367
368
# File 'lib/aws-sdk-secretsmanager/types.rb', line 361

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

#nameString

The name of the new secret.

Returns:

  • (String)


361
362
363
364
365
366
367
368
# File 'lib/aws-sdk-secretsmanager/types.rb', line 361

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:



361
362
363
364
365
366
367
368
# File 'lib/aws-sdk-secretsmanager/types.rb', line 361

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)


361
362
363
364
365
366
367
368
# File 'lib/aws-sdk-secretsmanager/types.rb', line 361

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