diff --git a/docs/cli/commands/login.mdx b/docs/cli/commands/login.mdx index 4eeae76e0..1f7a08350 100644 --- a/docs/cli/commands/login.mdx +++ b/docs/cli/commands/login.mdx @@ -308,7 +308,7 @@ Machine identity authentication methods are designed for automated systems, serv Run the `login` command with the following flags to obtain an access token: ```bash - infisical login --method=jwt-auth --jwt= --machine-identity-id= + infisical login --method=jwt-auth --jwt= --machine-identity-id= ``` @@ -333,7 +333,8 @@ The login command supports a number of flags that you can use for different auth - `gcp-id-token`: Login using a GCP ID token native auth. - `gcp-iam`: Login using a GCP IAM. - `aws-iam`: Login using an AWS IAM native auth. - - `oidc-auth`: Login using oidc auth. + - `oidc-auth`: Login using OIDC auth. + - `jwt-auth`: Login using a plain JWT token. @@ -466,16 +467,16 @@ The login command supports a number of flags that you can use for different auth - + ```bash - infisical login --oidc-jwt= + infisical login --jwt= --machine-identity-id= ``` #### Description - The JWT provided by an identity provider for OIDC authentication. + The JWT provided by an identity provider for OIDC or plain JWT authentication. This is required if the `--method` flag is set to `oidc-auth` or `jwt-auth`. - The `oidc-jwt` flag can be substituted with the `INFISICAL_OIDC_AUTH_JWT` environment variable. + The `jwt` flag can be substituted with the `INFISICAL_JWT` environment variable.