mirror of
https://github.com/minio/minio.git
synced 2025-11-24 03:27:44 -05:00
update STS docs with new values (#10055)
Co-authored-by: Poorna <poornas@users.noreply.github.com>
This commit is contained in:
@@ -123,8 +123,8 @@ func GetDefaultExpiration(dsecs string) (time.Duration, error) {
|
||||
|
||||
// The duration, in seconds, of the role session.
|
||||
// The value can range from 900 seconds (15 minutes)
|
||||
// to 12 hours.
|
||||
if expirySecs < 900 || expirySecs > 43200 {
|
||||
// up to 7 days.
|
||||
if expirySecs < 900 || expirySecs > 604800 {
|
||||
return 0, auth.ErrInvalidDuration
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user