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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-secretsmanager/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)


308
309
310
311
312
313
314
315
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 308

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

#nameString

The name of the new secret.

Returns:

  • (String)


308
309
310
311
312
313
314
315
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 308

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:



308
309
310
311
312
313
314
315
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 308

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)


308
309
310
311
312
313
314
315
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 308

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