helmus opened a new pull request, #3766:
URL: https://github.com/apache/arrow-rs/pull/3766

   # Which issue does this PR close?
   
   
   Closes https://github.com/apache/arrow-rs/issues/3765. ( `c.expiry()` will 
always return `None` )
    
   # Rationale for this change
    
   <!--
   Why are you proposing this change? If this is already explained clearly in 
the issue then this section is not needed.
   Explaining clearly why changes are proposed helps reviewers understand your 
changes and offer better suggestions for fixes.
   -->
   
   This sets the expiration for the temporary token to 1 hour.
   
   Perhaps this value should be user configured trough an environment variable. 
 
   Duration timeouts for 
[GetSessionToken](https://docs.aws.amazon.com/STS/latest/APIReference/API_GetSessionToken.html)
 
   
   ```
   minimum:    15 minutes
   default:    12 hours
   maximum:    36 hours
   ```
   
   As there is no good way to know when the token in the profile was generated, 
I'm proposing 1 hour as a compromise.
   
   
   # What changes are included in this PR?
   
   <!--
   There is no need to duplicate the description in the issue here but it is 
sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   # Are there any user-facing changes?
   
   
   <!--
   If there are user-facing changes then we may require documentation to be 
updated before approving the PR.
   -->
   
   <!---
   If there are any breaking changes to public APIs, please add the `breaking 
change` label.
   -->
   


-- 
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]

Reply via email to