Class: Vault::Secret
- Inherits:
-
Object
- Object
- Vault::Secret
- Defined in:
- lib/vault/api/secret.rb
Overview
Secret is a representation of a secret.
Instance Method Summary collapse
Instance Method Details
#auth ⇒ Object
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_auth ⇒ Object
8 |
# File 'lib/vault/api/secret.rb', line 8 alias_method :raw_auth, :auth |