To assume roles in GovCloud regions we must specify the GovCloud STS endpoint (Though not using that deprecated method). This Builder pattern can also be used to add support for Chinese regions or a Max Session Timeout.
Let's also upgrade the AWS SDK libraries while we're at it.
To assume roles in GovCloud regions we must specify the GovCloud STS endpoint (Though not using that deprecated method). This Builder pattern can also be used to add support for Chinese regions or a Max Session Timeout.
Let's also upgrade the AWS SDK libraries while we're at it.