Class: SecretHash

Inherits:
Hash
  • Object
show all
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

Constructor Details

#initializeSecretHash

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