Class: Vault::WrapInfo
Overview
WrapInfo is the information returned by a wrapped response. This is almost always embedded as part of a Secret.
Instance Attribute Summary collapse
-
#creation_time ⇒ Time
readonly
Date & time when the wrapped token was created.
-
#token ⇒ String
readonly
Wrapped response token.
-
#ttl ⇒ Fixnum
readonly
The TTL on the token returned in seconds.
-
#wrapped_accessor ⇒ String
readonly
Accessor for the wrapped token.
Method Summary
Methods inherited from Response
#==, decode, #initialize, #to_h
Constructor Details
This class inherits a constructor from Vault::Response
Instance Attribute Details
#creation_time ⇒ Time (readonly)
Date & time when the wrapped token was created
149 |
# File 'lib/vault/api/secret.rb', line 149 field :creation_time, load: ->(v) { Time.parse(v) } |
#token ⇒ String (readonly)
Wrapped response token. This token may be used to unwrap the response.
139 |
# File 'lib/vault/api/secret.rb', line 139 field :token |
#ttl ⇒ Fixnum (readonly)
The TTL on the token returned in seconds.
154 |
# File 'lib/vault/api/secret.rb', line 154 field :ttl |
#wrapped_accessor ⇒ String (readonly)
Accessor for the wrapped token. This is like a ‘lease_id`, but for a token.
144 |
# File 'lib/vault/api/secret.rb', line 144 field :wrapped_accessor |