@aws-sdk/credential-provider-sso
Advanced tools
Comparing version 3.36.0 to 3.36.1
@@ -6,2 +6,10 @@ # Change Log | ||
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12) | ||
**Note:** Version bump only for package @aws-sdk/credential-provider-sso | ||
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08) | ||
@@ -8,0 +16,0 @@ |
@@ -5,25 +5,12 @@ import { SSOClient } from "@aws-sdk/client-sso"; | ||
import { SourceProfileInit } from "@aws-sdk/util-credentials"; | ||
/** | ||
* The time window (15 mins) that SDK will treat the SSO token expires in before the defined expiration date in token. | ||
* This is needed because server side may have invalidated the token before the defined expiration date. | ||
* | ||
* @internal | ||
*/ | ||
export declare const EXPIRE_WINDOW_MS: number; | ||
export interface SsoCredentialsParameters { | ||
/** | ||
* The URL to the AWS SSO service. | ||
*/ | ||
ssoStartUrl: string; | ||
/** | ||
* The ID of the AWS account to use for temporary credentials. | ||
*/ | ||
ssoAccountId: string; | ||
/** | ||
* The AWS region to use for temporary credentials. | ||
*/ | ||
ssoRegion: string; | ||
/** | ||
* The name of the AWS role to assume. | ||
*/ | ||
ssoRoleName: string; | ||
@@ -34,10 +21,5 @@ } | ||
} | ||
/** | ||
* Creates a credential provider that will read from a credential_process specified | ||
* in ini files. | ||
*/ | ||
export declare const fromSSO: (init?: FromSSOInit & Partial<SsoCredentialsParameters>) => CredentialProvider; | ||
/** | ||
* @internal | ||
*/ | ||
export interface SsoProfile extends Profile { | ||
@@ -49,9 +31,5 @@ sso_start_url: string; | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export declare const validateSsoProfile: (profile: Partial<SsoProfile>) => SsoProfile; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const isSsoProfile: (arg: Profile) => arg is Partial<SsoProfile>; |
{ | ||
"name": "@aws-sdk/credential-provider-sso", | ||
"version": "3.36.0", | ||
"version": "3.36.1", | ||
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials", | ||
@@ -25,3 +25,3 @@ "main": "./dist-cjs/index.js", | ||
"dependencies": { | ||
"@aws-sdk/client-sso": "3.36.0", | ||
"@aws-sdk/client-sso": "3.36.1", | ||
"@aws-sdk/property-provider": "3.36.0", | ||
@@ -28,0 +28,0 @@ "@aws-sdk/shared-ini-file-loader": "3.36.0", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
34675
275
+ Added@aws-sdk/client-sso@3.36.1(transitive)
- Removed@aws-sdk/client-sso@3.36.0(transitive)
Updated@aws-sdk/client-sso@3.36.1