File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
packages/credential-providers Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -438,6 +438,14 @@ const client = new FooClient({
438438 // 2. AWS_PROFILE environment variable (affects all clients).
439439 // 3. the default profile.
440440 profile: " my-profile" ,
441+
442+ // Please note that the data client's region
443+ // will not be used by STS requests originating from the `fromIni`
444+ // provider if the profile(s) used have their own configured regions.
445+ // If the profile(s) have no regions set, then the data client's
446+ // region will be the fallback for the inner STS client.
447+ region: " us-west-2" ,
448+
441449 credentials: fromIni ({
442450 // Optional. Defaults to the client's profile if that is set.
443451 // You can specify a profile here as well, but this applies
You can’t perform that action at this time.
0 commit comments