tokend: add some logging about token issuance
This commit is contained in:
parent
af02ed9958
commit
fa17ca41c9
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,11 @@ func wrapToken(s *TokenSecret) ttledSecret {
|
||||||
ttlBuffer = 2 * time.Minute
|
ttlBuffer = 2 * time.Minute
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DEBUG: debugging some annoying renewal(?) issues with tokend
|
||||||
|
accessor, _ := s.TokenAccessor()
|
||||||
|
ttl, _ := s.TokenTTL()
|
||||||
|
log.Infof("wrapping token accessor %v with token TTL %v", accessor, ttl)
|
||||||
|
|
||||||
return ttledSecret{
|
return ttledSecret{
|
||||||
TokenSecret: s,
|
TokenSecret: s,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue