Class: Vault::Secret

Inherits:
Object
  • Object
show all
Defined in:
lib/vault/api/secret.rb

Overview

Secret is a representation of a secret.

Instance Method Summary collapse

Instance Method Details

#authObject



9
10
11
12
13
14
15
16
# File 'lib/vault/api/secret.rb', line 9

def auth
  return @auth if defined?(@auth)
  if raw_auth.nil?
    @auth = nil
  else
    @auth = SecretAuth.decode(raw_auth)
  end
end

#raw_authObject



8
# File 'lib/vault/api/secret.rb', line 8

alias_method :raw_auth, :auth