Class: SettingsReader::VaultResolver::Engines::KV2
- Defined in:
- lib/settings_reader/vault_resolver/engines/kv2.rb
Overview
Adapter to retrieve / renew secret from kv2 engine
Constant Summary collapse
- MOUNT =
'secret'.freeze
Instance Attribute Summary
Attributes inherited from Abstract
Instance Method Summary collapse
Methods inherited from Abstract
Methods included from Logging
Constructor Details
This class inherits a constructor from SettingsReader::VaultResolver::Engines::Abstract
Instance Method Details
#renew(_entry) ⇒ Object
12 13 14 |
# File 'lib/settings_reader/vault_resolver/engines/kv2.rb', line 12 def renew(_entry) # KV secrets are static. Nothing to do end |
#retrieves?(address) ⇒ Boolean
8 9 10 |
# File 'lib/settings_reader/vault_resolver/engines/kv2.rb', line 8 def retrieves?(address) address.mount == MOUNT end |