You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// SetExpiration sets the expiration IsExpired will check when called.//// If window is greater than 0 the expiration time will be reduced by the// window value.//// Using a window is helpful to trigger credentials to expire sooner than// the expiration time given to ensure no requests are made with expired// tokens.func (e*Expiry) SetExpiration(expiration time.Time, window time.Duration) {
e.expiration=expirationifwindow>0 {
e.expiration=e.expiration.Add(-window)
}
}
The AWS IAM provider adds a 5 minute time delta to the actual expiration time of the token provided by AWS.
minio-py/minio/credentials/providers.py
Line 236 in 99dd78b
This causes a 5 minute period of time in which the SDK is operating with expired credentials before asking for a new token.
The text was updated successfully, but these errors were encountered: