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

    Class KubernetesAuth

    Kubernetes Auth — POST /api/v1/auth/kubernetes-auth/login with a service-account JWT.

    Hierarchy (View Summary)

    Index
    identityId: string

    The machine identity id.

    jwtPath: string

    Path the JWT is read from when no jwt was given.

    kind: "kubernetes-auth"

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

    loginPath: "/api/v1/auth/kubernetes-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.

    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>