Module: RakeVault::Auth::Oidc

Defined in:
lib/rake_vault/auth/oidc.rb

Class Method Summary collapse

Class Method Details

.login(address, role, no_print) ⇒ Object



8
9
10
11
12
13
14
15
16
17
# File 'lib/rake_vault/auth/oidc.rb', line 8

def self.(address, role, no_print)
  auth = role ? ["role=#{role}"] : []

  RubyVault.(
    method: 'oidc',
    auth:,
    address:,
    no_print:
  )
end