Not storing the Nomad token as we have the accesor for administrative operations
This commit is contained in:
parent
4b572c064c
commit
783b38c9c4
|
@ -71,7 +71,6 @@ func (b *backend) pathTokenRead(
|
||||||
"secret_id": token.SecretID,
|
"secret_id": token.SecretID,
|
||||||
"accessor_id": token.AccessorID,
|
"accessor_id": token.AccessorID,
|
||||||
}, map[string]interface{}{
|
}, map[string]interface{}{
|
||||||
"secret_id": token.SecretID,
|
|
||||||
"accessor_id": token.AccessorID,
|
"accessor_id": token.AccessorID,
|
||||||
})
|
})
|
||||||
s.Secret.TTL = result.Lease
|
s.Secret.TTL = result.Lease
|
||||||
|
|
Loading…
Reference in a new issue