@aws-sdk/credential-provider-sso 3.49.0 → 3.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/package.json +4 -4
- package/dist-types/ts3.4/index.d.ts +0 -32
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/credential-provider-sso
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/credential-provider-sso
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.50.0",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/client-sso": "3.
|
|
27
|
-
"@aws-sdk/property-provider": "3.
|
|
26
|
+
"@aws-sdk/client-sso": "3.50.0",
|
|
27
|
+
"@aws-sdk/property-provider": "3.50.0",
|
|
28
28
|
"@aws-sdk/shared-ini-file-loader": "3.49.0",
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
29
|
+
"@aws-sdk/types": "3.50.0",
|
|
30
30
|
"@aws-sdk/util-credentials": "3.49.0",
|
|
31
31
|
"tslib": "^2.3.0"
|
|
32
32
|
},
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { SSOClient } from "@aws-sdk/client-sso";
|
|
2
|
-
import { Profile } from "@aws-sdk/shared-ini-file-loader";
|
|
3
|
-
import { CredentialProvider } from "@aws-sdk/types";
|
|
4
|
-
import { SourceProfileInit } from "@aws-sdk/util-credentials";
|
|
5
|
-
|
|
6
|
-
export declare const EXPIRE_WINDOW_MS: number;
|
|
7
|
-
export interface SsoCredentialsParameters {
|
|
8
|
-
|
|
9
|
-
ssoStartUrl: string;
|
|
10
|
-
|
|
11
|
-
ssoAccountId: string;
|
|
12
|
-
|
|
13
|
-
ssoRegion: string;
|
|
14
|
-
|
|
15
|
-
ssoRoleName: string;
|
|
16
|
-
}
|
|
17
|
-
export interface FromSSOInit extends SourceProfileInit {
|
|
18
|
-
ssoClient?: SSOClient;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export declare const fromSSO: (init?: FromSSOInit & Partial<SsoCredentialsParameters>) => CredentialProvider;
|
|
22
|
-
|
|
23
|
-
export interface SsoProfile extends Profile {
|
|
24
|
-
sso_start_url: string;
|
|
25
|
-
sso_account_id: string;
|
|
26
|
-
sso_region: string;
|
|
27
|
-
sso_role_name: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export declare const validateSsoProfile: (profile: Partial<SsoProfile>) => SsoProfile;
|
|
31
|
-
|
|
32
|
-
export declare const isSsoProfile: (arg: Profile) => arg is Partial<SsoProfile>;
|