[ 
https://issues.apache.org/jira/browse/HDDS-16506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fabian Morgan updated HDDS-16506:
---------------------------------
    Summary: Consistent DurationSeconds Validation Message and Minor Design Doc 
and comment updates  (was: Consistent DurationSeconds Validation Message and 
Minor Design Doc updates)

> Consistent DurationSeconds Validation Message and Minor Design Doc and 
> comment updates
> --------------------------------------------------------------------------------------
>
>                 Key: HDDS-16506
>                 URL: https://issues.apache.org/jira/browse/HDDS-16506
>             Project: Apache Ozone
>          Issue Type: Task
>            Reporter: Fabian Morgan
>            Assignee: Fabian Morgan
>            Priority: Major
>
> 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`.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to