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 Amazon Resource Name (ARN) of the secret that you just created.

<note markdown=“1”> Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret *don’t* automatically get access to the new secret because the ARNs are different.

</note>

Returns:

  • (String)


323
324
325
326
327
328
329
330
# File 'lib/aws-sdk-secretsmanager/types.rb', line 323

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

#nameString

The friendly name of the secret that you just created.

Returns:

  • (String)


323
324
325
326
327
328
329
330
# File 'lib/aws-sdk-secretsmanager/types.rb', line 323

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

#replication_statusArray<Types::ReplicationStatusType>

Describes a list of replication status objects as ‘InProgress`, `Failed` or `InSync`.

Returns:



323
324
325
326
327
328
329
330
# File 'lib/aws-sdk-secretsmanager/types.rb', line 323

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 secret you just created.

Returns:

  • (String)


323
324
325
326
327
328
329
330
# File 'lib/aws-sdk-secretsmanager/types.rb', line 323

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