Sha256: 43487cda21ab4aa54d03dcb3b055a3da478340128dd6a7d64ba102fd88dcf0c9

Contents?: true

Size: 960 Bytes

Versions: 13

Compression:

Stored size: 960 Bytes

Contents

# frozen_string_literal: true

Aws.config[:secretsmanager] = {
  stub_responses: {
    describe_secret: {
      arn: 'my-secret-arn',
      description: 'my secret description',
      kms_key_id: 'secret-kms-key-arn',
      last_accessed_date: Time.at(1_523_923_200),
      last_changed_date: Time.at(1_523_477_145.729),
      last_rotated_date: Time.at(1_525_747_253.72),
      name: 'my-secret-name',
      rotation_enabled: true,
      rotation_lambda_arn: 'my-secret-rotation-lambda-arn',
      rotation_rules: {
        automatically_after_days: 30
      },
      tags: [
        {
          key: 'key_one',
          value: 'value_one'
        },
        {
          key: 'key_two',
          value: 'value_two'
        }
      ],
      version_ids_to_stages: {
        'EXAMPLE1-90ab-cdef-fedc-ba987EXAMPLE' => [
          'AWSPREVIOUS'
        ],
        'EXAMPLE2-90ab-cdef-fedc-ba987EXAMPLE' => [
          'AWSCURRENT'
        ]
      }
    }
  }
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
awspec-1.31.0 lib/awspec/stub/secretsmanager.rb
awspec-1.30.0 lib/awspec/stub/secretsmanager.rb
awspec-1.29.3 lib/awspec/stub/secretsmanager.rb
awspec-1.29.2 lib/awspec/stub/secretsmanager.rb
awspec-1.29.1 lib/awspec/stub/secretsmanager.rb
awspec-1.29.0 lib/awspec/stub/secretsmanager.rb
awspec-1.28.2 lib/awspec/stub/secretsmanager.rb
awspec-1.28.1 lib/awspec/stub/secretsmanager.rb
awspec-1.28.0 lib/awspec/stub/secretsmanager.rb
awspec-1.27.1 lib/awspec/stub/secretsmanager.rb
awspec-1.27.0 lib/awspec/stub/secretsmanager.rb
awspec-1.26.0 lib/awspec/stub/secretsmanager.rb
awspec-1.25.2 lib/awspec/stub/secretsmanager.rb