Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TakomoCredentialProvider

Provides AWS credentials to be used to invoke AWS APIs.

Hierarchy

  • TakomoCredentialProvider

Index

Properties

createCredentialProviderForRole

createCredentialProviderForRole: (iamRoleArn: IamRoleArn) => Promise<TakomoCredentialProvider>

Create a new credential provider for the given command role.

param

IAM role ARN

returns

Credential provider

Type declaration

getCallerIdentity

getCallerIdentity: () => Promise<CallerIdentity>
returns

Identity associated with the credentials

Type declaration

getCredentials

getCredentials: () => Promise<Credentials>
returns

AWS credentials

Type declaration

    • (): Promise<Credentials>
    • Returns Promise<Credentials>

getName

getName: () => string
returns

Name

Type declaration

    • (): string
    • Returns string

Generated using TypeDoc