Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @aws-sdk/credential-provider-sso

@aws-sdk/credential-provider-sso

NPM version NPM downloads

An internal package

Usage

You probably shouldn't, at least directly. Please use @aws-sdk/credential-providers instead.

Index

References

FromSSOInit

Re-exports FromSSOInit

SSOToken

Re-exports SSOToken

SsoCredentialsParameters

Re-exports SsoCredentialsParameters

SsoProfile

Re-exports SsoProfile

fromSSO

Re-exports fromSSO

isSsoProfile

Re-exports isSsoProfile

validateSsoProfile

Re-exports validateSsoProfile

Variables

Const EXPIRE_WINDOW_MS

EXPIRE_WINDOW_MS: number = 15 * 60 * 1000

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

Const SHOULD_FAIL_CREDENTIAL_CHAIN

SHOULD_FAIL_CREDENTIAL_CHAIN: false = false

Functions

Const fromSSO

Const isSsoProfile

  • isSsoProfile(arg: Profile): arg is Partial<SsoProfile>

Const resolveSSOCredentials

  • resolveSSOCredentials(__namedParameters: { ssoAccountId: string; ssoClient: SSOClient; ssoRegion: string; ssoRoleName: string; ssoStartUrl: string }): Promise<Credentials>

Const validateSsoProfile