Skip to content

Commit f0da41d

Browse files
authored
chore(node-config-provider): extend SharedConfigInit from SourceProfileInit (#3487)
1 parent f8bee3d commit f0da41d

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

packages/node-config-provider/src/fromSharedConfigFiles.ts

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
import { CredentialsProviderError } from "@aws-sdk/property-provider";
2-
import {
3-
getProfileName,
4-
loadSharedConfigFiles,
5-
SharedConfigInit as BaseSharedConfigInit,
6-
} from "@aws-sdk/shared-ini-file-loader";
2+
import { getProfileName, loadSharedConfigFiles, SourceProfileInit } from "@aws-sdk/shared-ini-file-loader";
73
import { Profile, Provider } from "@aws-sdk/types";
84

9-
export interface SharedConfigInit extends BaseSharedConfigInit {
10-
/**
11-
* The configuration profile to use.
12-
*/
13-
profile?: string;
14-
5+
export interface SharedConfigInit extends SourceProfileInit {
156
/**
167
* The preferred shared ini file to load the config. "config" option refers to
178
* the shared config file(defaults to `~/.aws/config`). "credentials" option

0 commit comments

Comments
 (0)