Class: SecretHash
- Inherits:
-
Hash
- Object
- Hash
- SecretHash
- Defined in:
- lib/cloudshaper/secrets.rb
Overview
Load and provide access to secrets required by terraform providers
Defined Under Namespace
Classes: SecretNotFound
Instance Method Summary collapse
-
#initialize ⇒ SecretHash
constructor
A new instance of SecretHash.
Constructor Details
#initialize ⇒ SecretHash
Returns a new instance of SecretHash.
8 9 10 |
# File 'lib/cloudshaper/secrets.rb', line 8 def initialize super { |_secrets, key| fail SecretNotFound, "Secret `#{key}` not found" } end |