Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion lib/vault/api/sys/auth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ class Auth < Response
# Name of the auth backend.
# @return [String]
field :type

# @!attribute [r] accessor
# Accessor of the auth backend.
# @return [String]
field :accessor
end

class AuthConfig < Response
Expand All @@ -32,7 +37,7 @@ class Sys
# List all auths in Vault.
#
# @example
# Vault.sys.auths #=> {:token => #<Vault::Auth type="token", description="token based credentials">}
# Vault.sys.auths #=> {:token => #<Vault::Auth type="token", description="token based credentials", accessor="auth_token_d73f8a39">}
#
# @return [Hash<Symbol, Auth>]
def auths
Expand Down