[Portworx] Add IATSubtract option to auth token options
@@ -679,6 +679,7 @@ func (p *portworx) getAdminVolDriver() (volume.VolumeDriver, error) {
// Set the token expiration
options := &auth.Options{
Expiration: time.Now().Add(time.Hour).Unix(),
+ IATSubtract: 1 * time.Minute,
}
token, err := auth.Token(claims, signature, options)
