Class: SecretsLoader::Config
- Inherits:
-
Object
- Object
- SecretsLoader::Config
- Defined in:
- lib/secrets_loader/config.rb
Instance Attribute Summary collapse
- #client ⇒ Object
-
#secret_id ⇒ Object
Returns the value of attribute secret_id.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
10 11 12 |
# File 'lib/secrets_loader/config.rb', line 10 def initialize @secret_id = ENV['SECRETS_MANAGER_SECRET_ID'] end |
Instance Attribute Details
#client ⇒ Object
14 15 16 |
# File 'lib/secrets_loader/config.rb', line 14 def client @client ||= Aws::SecretsManager::Client.new end |
#secret_id ⇒ Object
Returns the value of attribute secret_id.
7 8 9 |
# File 'lib/secrets_loader/config.rb', line 7 def secret_id @secret_id end |