Class: SettingsReader::VaultResolver::Engines::Aws

Inherits:
Abstract
  • Object
show all
Defined in:
lib/settings_reader/vault_resolver/engines/aws.rb

Overview

Adapter to retrieve / renew secret from database engine

Constant Summary collapse

MOUNT =
'aws'.freeze

Instance Attribute Summary

Attributes inherited from Abstract

#config

Instance Method Summary collapse

Methods inherited from Abstract

#get, #initialize, #renew

Methods included from Logging

#debug, #error, #info, #warn

Constructor Details

This class inherits a constructor from SettingsReader::VaultResolver::Engines::Abstract

Instance Method Details

#retrieves?(address) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/settings_reader/vault_resolver/engines/aws.rb', line 8

def retrieves?(address)
  address.mount == MOUNT
end