@aws-sdk/credential-provider-sso 3.211.0 → 3.215.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.
@@ -1,6 +1,6 @@
1
1
  import { SSOClient } from "@aws-sdk/client-sso";
2
2
  import { SourceProfileInit } from "@aws-sdk/shared-ini-file-loader";
3
- import { CredentialProvider } from "@aws-sdk/types";
3
+ import { AwsCredentialIdentityProvider } from "@aws-sdk/types";
4
4
  export interface SsoCredentialsParameters {
5
5
  /**
6
6
  * The URL to the AWS SSO service.
@@ -56,4 +56,4 @@ export interface FromSSOInit extends SourceProfileInit {
56
56
  * sso_start_url = https://www.....com/start
57
57
  * ```
58
58
  */
59
- export declare const fromSSO: (init?: FromSSOInit & Partial<SsoCredentialsParameters>) => CredentialProvider;
59
+ export declare const fromSSO: (init?: FromSSOInit & Partial<SsoCredentialsParameters>) => AwsCredentialIdentityProvider;
@@ -1,6 +1,6 @@
1
- import { Credentials } from "@aws-sdk/types";
1
+ import { AwsCredentialIdentity } from "@aws-sdk/types";
2
2
  import { FromSSOInit, SsoCredentialsParameters } from "./fromSSO";
3
3
  /**
4
4
  * @private
5
5
  */
6
- export declare const resolveSSOCredentials: ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, profile, }: FromSSOInit & SsoCredentialsParameters) => Promise<Credentials>;
6
+ export declare const resolveSSOCredentials: ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, profile, }: FromSSOInit & SsoCredentialsParameters) => Promise<AwsCredentialIdentity>;
@@ -1,6 +1,6 @@
1
1
  import { SSOClient } from "@aws-sdk/client-sso";
2
2
  import { SourceProfileInit } from "@aws-sdk/shared-ini-file-loader";
3
- import { CredentialProvider } from "@aws-sdk/types";
3
+ import { AwsCredentialIdentityProvider } from "@aws-sdk/types";
4
4
  export interface SsoCredentialsParameters {
5
5
  ssoStartUrl: string;
6
6
  ssoSession?: string;
@@ -13,4 +13,4 @@ export interface FromSSOInit extends SourceProfileInit {
13
13
  }
14
14
  export declare const fromSSO: (
15
15
  init?: FromSSOInit & Partial<SsoCredentialsParameters>
16
- ) => CredentialProvider;
16
+ ) => AwsCredentialIdentityProvider;
@@ -1,4 +1,4 @@
1
- import { Credentials } from "@aws-sdk/types";
1
+ import { AwsCredentialIdentity } from "@aws-sdk/types";
2
2
  import { FromSSOInit, SsoCredentialsParameters } from "./fromSSO";
3
3
  export declare const resolveSSOCredentials: ({
4
4
  ssoStartUrl,
@@ -8,4 +8,4 @@ export declare const resolveSSOCredentials: ({
8
8
  ssoRoleName,
9
9
  ssoClient,
10
10
  profile,
11
- }: FromSSOInit & SsoCredentialsParameters) => Promise<Credentials>;
11
+ }: FromSSOInit & SsoCredentialsParameters) => Promise<AwsCredentialIdentity>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.211.0",
3
+ "version": "3.215.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",
@@ -24,11 +24,11 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/client-sso": "3.211.0",
28
- "@aws-sdk/property-provider": "3.208.0",
29
- "@aws-sdk/shared-ini-file-loader": "3.209.0",
30
- "@aws-sdk/token-providers": "3.211.0",
31
- "@aws-sdk/types": "3.208.0",
27
+ "@aws-sdk/client-sso": "3.215.0",
28
+ "@aws-sdk/property-provider": "3.215.0",
29
+ "@aws-sdk/shared-ini-file-loader": "3.215.0",
30
+ "@aws-sdk/token-providers": "3.215.0",
31
+ "@aws-sdk/types": "3.215.0",
32
32
  "tslib": "^2.3.1"
33
33
  },
34
34
  "devDependencies": {