@grow-codes/infisical - v0.1.2
    Preparing search index...

    Class AwsIamAuth

    AWS IAM Auth — signs sts:GetCallerIdentity (SigV4) and posts it to /api/v1/auth/aws-auth/login.

    Hierarchy (View Summary)

    Index
    identityId: string

    The machine identity id.

    kind: "aws-auth"

    Method name (token, universal-auth, kubernetes-auth, aws-auth).

    loginPath: "/api/v1/auth/aws-auth/login"

    Login path, e.g. /api/v1/auth/universal-auth/login.

    refreshable: true

    Whether a rejected token can be replaced by logging in again.

    region: string

    STS region.

    tokenKind: TokenKind = "identity"

    Principal kind of the tokens this method produces.

    • get accessToken(): AccessToken | null

      The current access token (null before the first login or after revoke).

      Returns AccessToken | null

    • get context(): AuthContext

      The bound client context (ConfigError before the method is passed to a client).

      Returns AuthContext

    • Releases the method; revokes a login token when revoke is true.

      Parameters

      • revoke: boolean = false

      Returns Promise<void>