mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
Introduced AccessorID in TokenEntry and returning it along with token
This commit is contained in:
@@ -28,6 +28,7 @@ type Secret struct {
|
||||
// SecretAuth is the structure containing auth information if we have it.
|
||||
type SecretAuth struct {
|
||||
ClientToken string `json:"client_token"`
|
||||
AccessorID string `json:"accessor_id"`
|
||||
Policies []string `json:"policies"`
|
||||
Metadata map[string]string `json:"metadata"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user