Skip to content

Commit 3d2d5bf

Browse files
committed
chore(node-config-provider): extend SharedConfigInit from SourceProfileInit
1 parent d3a37b2 commit 3d2d5bf

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

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

Lines changed: 2 additions & 11 deletions
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)