Introduced AccessorID in TokenEntry and returning it along with token

This commit is contained in:
vishalnayak
2016-03-08 12:51:38 -05:00
parent 9368a08d1f
commit 38a5d75caa
5 changed files with 31 additions and 0 deletions

View File

@@ -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"`