mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
docs: clarify login command flags and their requirements for non-interactive authentication
This commit is contained in:
@@ -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.
|
||||
|
||||
<Tip>
|
||||
You can omit the **--method=user** if you want as it's the default method.
|
||||
</Tip>
|
||||
|
||||
<Tip>
|
||||
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.
|
||||
|
||||
<Warning>
|
||||
For security in CI/CD environments, prefer using the `INFISICAL_PASSWORD` environment variable instead of passing the password as a command-line flag.
|
||||
</Warning>
|
||||
|
||||
<Tip>
|
||||
You can omit the **--method=user** if you want as it's the default method.
|
||||
</Tip>
|
||||
|
||||
<Tip>
|
||||
The `password` flag can be substituted with the `INFISICAL_PASSWORD` environment variable.
|
||||
</Tip>
|
||||
|
||||
Reference in New Issue
Block a user