Module: CredentialsHelper

Included in:
Renuo::Cli::Commands::ConfigureSemaphore
Defined in:
lib/renuo/cli/helpers/credentials_helper.rb

Constant Summary collapse

CONFIG =
ActiveSupport::EncryptedConfiguration.new(
  config_path: File.expand_path("../credentials.yml.enc", __dir__),
  key_path: "", env_key: "RENUO_CLI_MASTER_KEY", raise_if_missing_key: true
)

Instance Method Summary collapse

Instance Method Details

#credentialsObject



11
12
13
# File 'lib/renuo/cli/helpers/credentials_helper.rb', line 11

def credentials
  CONFIG.config
end