1 parent
edfad8971a
commit
c0dd0353af
157 files changed
+557
-838
No files matched your search
@@ -144,7 +144,7 @@ message Token {
|
||||
// expiration_time is calculated when the token is renewed.
|
||||
//
|
||||
// The calculation is:
|
||||
// expiration_time := time.Now().Add(LeaseDuration * time.Second)
|
||||
// expiration_time := time.Now().Add(LeaseDuration * time.Second)
|
||||
// LeaseDuration is a value returned by Vault when the token is renewed.
|
||||
//
|
||||
// https://www.vaultproject.io/api-docs/auth/token#renew-a-token-self
|
||||
@@ -419,7 +419,7 @@ message Credential {
|
||||
// retrieved and whenever the credential's lease is renewed.
|
||||
//
|
||||
// The calculation is:
|
||||
// expiration_time := time.Now().Add(LeaseDuration * time.Second)
|
||||
// expiration_time := time.Now().Add(LeaseDuration * time.Second)
|
||||
// LeaseDuration is a value returned by Vault when the credential is
|
||||
// retrieved or the lease for the credential is renewed.
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user