class SimplyGenius::Atmos::Commands::Secret

Public Instance Methods

execute() click to toggle source
# File lib/simplygenius/atmos/commands/secret.rb, line 17
def execute

  Atmos.config.provider.auth_manager.authenticate(ENV) do |auth_env|
    ClimateControl.modify(auth_env) do
      value = Atmos.config.provider.secret_manager.get(key)
      logger.info "Secret value for #{key}:"
      puts value
    end
  end

end