Module: CommandTower::CredentialResolution::EnvBackend

Defined in:
lib/command_tower/credential_resolution/env_backend.rb

Overview

Default ENV-backed credential source (precedence tier 3). Documented keys only — provider consumers must not call this directly.

Class Method Summary collapse

Class Method Details

.smtpObject



17
18
19
20
21
22
# File 'lib/command_tower/credential_resolution/env_backend.rb', line 17

def smtp
  SmtpCredentials.new(
    user_name: ENV["GMAIL_USER_NAME"],
    password: ENV["GMAIL_PASSWORD"],
  )
end

.twilioObject



10
11
12
13
14
15
# File 'lib/command_tower/credential_resolution/env_backend.rb', line 10

def twilio
  TwilioCredentials.new(
    account_sid: ENV["TWILIO_ACCOUNT_SID"],
    auth_token: ENV["TWILIO_AUTH_TOKEN"],
  )
end