Not storing the Nomad token as we have the accesor for administrative operations

This commit is contained in:
Nicolas Corrarello 2017-11-03 07:25:47 +00:00
parent 4b572c064c
commit 783b38c9c4

View file

@ -71,7 +71,6 @@ func (b *backend) pathTokenRead(
"secret_id": token.SecretID,
"accessor_id": token.AccessorID,
}, map[string]interface{}{
"secret_id": token.SecretID,
"accessor_id": token.AccessorID,
})
s.Secret.TTL = result.Lease