Skip to content

Different regions for the same service #3225

Answered by ashishdhingra
ryno1234 asked this question in Q&A
Discussion options

You must be logged in to vote

@ryno1234 Good afternoon. If you use new AmazonS3Client() or new AmazonS3Client(RegionEndpoint) without credentials, the SDK would try to resolve the credentials automatically using the resolution order mentioned in Credential and profile resolution. If you would like to manually resolve the credentials using the same order, you could use Amazon.Runtime.FallbackCredentialsFactory.GetCredentials() (although this manual step is not required since new AmazonS3Client(RegionEndpoint) would have credential resolution done automatically). Please advise if this answers your question.

Thanks,
Ashish

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ryno1234
Comment options

Answer selected by ryno1234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. s3
2 participants