Class: SettingsReader::VaultResolver::Engines::Auth
- Defined in:
- lib/settings_reader/vault_resolver/engines/auth.rb
Overview
Adapter to retrieve / renew auth tokens
Constant Summary collapse
- MOUNT =
'auth'.freeze
- AUTH_BACKEND =
ENV['VAULT_AUTH_BACKEND'] || 'kubernetes'
- K8S_AUTH =
"#{AUTH_BACKEND}/login".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
#retrieves?(address) ⇒ Boolean
10 11 12 |
# File 'lib/settings_reader/vault_resolver/engines/auth.rb', line 10 def retrieves?(address) address.mount == MOUNT end |