diff --git a/docs/cli/commands/login.mdx b/docs/cli/commands/login.mdx index d55b3b7f9..a995cc382 100644 --- a/docs/cli/commands/login.mdx +++ b/docs/cli/commands/login.mdx @@ -406,7 +406,11 @@ The login command supports a number of flags that you can use for different auth ``` #### Description - Email address for direct user login. Must be used together with `--password` for non-interactive authentication. + User email address. Required if you want to do a non-interactive login when the **--method** flag is set to **user**. Must be used together with the `--password` flag. + + + You can omit the **--method=user** if you want as it's the default method. + The `email` flag can be substituted with the `INFISICAL_EMAIL` environment variable. @@ -419,12 +423,16 @@ The login command supports a number of flags that you can use for different auth ``` #### Description - Password for direct user login. Must be used together with `--email` for non-interactive authentication. + User password. Required if you want to do a non-interactive login when the **--method** flag is set to **user**. Must be used together with the `--email` flag. For security in CI/CD environments, prefer using the `INFISICAL_PASSWORD` environment variable instead of passing the password as a command-line flag. + + You can omit the **--method=user** if you want as it's the default method. + + The `password` flag can be substituted with the `INFISICAL_PASSWORD` environment variable.