fmorg-git opened a new pull request, #11261: URL: https://github.com/apache/ozone/pull/11261
Please describe your PR in detail: * In the DurationSeconds parameter for the AssumeRole call, the value must be between 900 and 43200 (15 minutes and 12 hours). If the value is invalid like `4320010`, it says `Invalid Value: DurationSeconds must be between 900 and 43200 seconds`. However is the value is invalid and overflows an integer type like `43200100000`, it says `Invalid Value: DurationSeconds must be a number`. The latter message is shown also in the case of a non-numeric invalid value like `abc` but it is confusing for numeric overflow values.This ticket will make the validation message consistent for all cases. Separately, this ticket updates the STS design doc with minor changes and makes a minor update to a comment in `S3STSConfigKeys`. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-16506 ## How was this patch tested? smoke tests, manual testing -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
