mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 17:27:40 +00:00
Update login.mdx
This commit is contained in:
@@ -84,7 +84,7 @@ User authentication is designed for individual developers and supports multiple
|
|||||||
infisical login --interactive
|
infisical login --interactive
|
||||||
```
|
```
|
||||||
</Accordion>
|
</Accordion>
|
||||||
<Accordion title="Plain Token Output (for scripting)">
|
<Accordion title="Plain Token Output (Useful for scripting and CI/CD)">
|
||||||
```bash
|
```bash
|
||||||
export INFISICAL_TOKEN=$(infisical login [email protected] --password=your-password --plain --silent)
|
export INFISICAL_TOKEN=$(infisical login [email protected] --password=your-password --plain --silent)
|
||||||
```
|
```
|
||||||
@@ -504,13 +504,10 @@ The following examples demonstrate different ways to authenticate as a user with
|
|||||||
#### Using Command-Line Flags
|
#### Using Command-Line Flags
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Basic direct login
|
# Basic direct login (defaults to US Cloud)
|
||||||
infisical login --email [email protected] --password "your-password"
|
infisical login --email [email protected] --password "your-password"
|
||||||
|
|
||||||
# With custom domain (US Cloud)
|
# EU Cloud (Custom domain)
|
||||||
infisical login --email [email protected] --password "your-password" --domain https://app.infisical.com
|
|
||||||
|
|
||||||
# With custom domain (EU Cloud)
|
|
||||||
infisical login --email [email protected] --password "your-password" --domain https://eu.infisical.com
|
infisical login --email [email protected] --password "your-password" --domain https://eu.infisical.com
|
||||||
|
|
||||||
# Output only JWT token for scripting
|
# Output only JWT token for scripting
|
||||||
@@ -523,7 +520,6 @@ The following examples demonstrate different ways to authenticate as a user with
|
|||||||
# Set credentials as environment variables
|
# Set credentials as environment variables
|
||||||
export INFISICAL_EMAIL="[email protected]"
|
export INFISICAL_EMAIL="[email protected]"
|
||||||
export INFISICAL_PASSWORD="your-password"
|
export INFISICAL_PASSWORD="your-password"
|
||||||
export INFISICAL_API_URL="https://app.infisical.com/api"
|
|
||||||
|
|
||||||
# Login without additional flags
|
# Login without additional flags
|
||||||
infisical login
|
infisical login
|
||||||
|
|||||||
Reference in New Issue
Block a user