Interface CredentialManager

Provides AWS credentials that can be used to invoke AWS APIs.

Hierarchy

  • CredentialManager

Properties

createCredentialManagerForRole: ((iamRoleArn: string) => Promise<CredentialManager>)

Type declaration

    • (iamRoleArn: string): Promise<CredentialManager>
    • Create a new credential manager for the given command role.

      Returns

      Credential provider

      Parameters

      • iamRoleArn: string

        IAM role ARN

      Returns Promise<CredentialManager>

getCallerIdentity: (() => Promise<CallerIdentity>)

Type declaration

getCredentialProvider: (() => CredentialProvider)

Type declaration

    • (): CredentialProvider
    • Returns

      CredentialProvider

      Returns CredentialProvider

getCredentials: (() => Promise<Credentials>)

Type declaration

    • (): Promise<Credentials>
    • Returns

      AWS credentials

      Returns Promise<Credentials>

name: string

Credential manager name

Generated using TypeDoc