Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @aws-sdk/credential-provider-ini

@aws-sdk/credential-provider-ini

NPM version NPM downloads

An internal package

Usage

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

Index

References

FromIniInit

Re-exports FromIniInit

fromIni

Re-exports fromIni

isSsoProfile

Re-exports isSsoProfile

Functions

Const fromIni

Const isAssumeRoleProfile

  • isAssumeRoleProfile(arg: any): boolean

Const isAssumeRoleWithProviderProfile

  • isAssumeRoleWithProviderProfile(arg: any): arg is AssumeRoleWithProviderProfile

Const isAssumeRoleWithSourceProfile

  • isAssumeRoleWithSourceProfile(arg: any): arg is AssumeRoleWithSourceProfile

Const isStaticCredsProfile

  • isStaticCredsProfile(arg: any): arg is StaticCredsProfile

Const isWebIdentityProfile

  • isWebIdentityProfile(arg: any): arg is WebIdentityProfile

Const resolveAssumeRoleCredentials

Const resolveCredentialSource

  • resolveCredentialSource(credentialSource: string, profileName: string): CredentialProvider
  • Resolve the credential_source entry from the profile, and return the credential providers respectively. No memoization is needed for the credential source providers because memoization should be added outside the fromIni() provider. The source credential needs to be refreshed every time fromIni() is called.

    Parameters

    • credentialSource: string
    • profileName: string

    Returns CredentialProvider

Const resolveProfileData

Const resolveSsoCredentials

Const resolveStaticCredentials

Const resolveWebIdentityCredentials