diff options
Diffstat (limited to 'vendor/github.com/hashicorp/vault/api/auth.go')
-rw-r--r-- | vendor/github.com/hashicorp/vault/api/auth.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/vault/api/auth.go b/vendor/github.com/hashicorp/vault/api/auth.go new file mode 100644 index 0000000..da870c1 --- /dev/null +++ b/vendor/github.com/hashicorp/vault/api/auth.go @@ -0,0 +1,11 @@ +package api + +// Auth is used to perform credential backend related operations. +type Auth struct { + c *Client +} + +// Auth is used to return the client for credential-backend API calls. +func (c *Client) Auth() *Auth { + return &Auth{c: c} +} |