Skip to content

HDDS-16506. Consistent DurationSeconds Validation Message and Minor Design Doc and comment updates - #11261

Open
fmorg-git wants to merge 6 commits into
apache:masterfrom
fmorg-git:HDDS-16506
Open

fmorg-git wants to merge 6 commits into
apache:masterfrom
fmorg-git:HDDS-16506

Conversation

@fmorg-git

Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants