Different regions for the same service #3225
-
Hypothetically, if I wanted to use the I know I could create a new instance of If I were to use the recommended way to configure the service, i.e. A solution here would be to allow some way to resolve |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@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 Thanks, |
Beta Was this translation helpful? Give feedback.
@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