Update login.mdx

This commit is contained in:
Daniel Hougaard
2025-10-23 12:22:29 +04:00
parent 9bf8e2a4f4
commit 91a183fa25
+3 -7
View File
@@ -84,7 +84,7 @@ User authentication is designed for individual developers and supports multiple
infisical login --interactive
```
</Accordion>
<Accordion title="Plain Token Output (for scripting)">
<Accordion title="Plain Token Output (Useful for scripting and CI/CD)">
```bash
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
```bash
# Basic direct login
# Basic direct login (defaults to US Cloud)
infisical login --email [email protected] --password "your-password"
# With custom domain (US Cloud)
infisical login --email [email protected] --password "your-password" --domain https://app.infisical.com
# With custom domain (EU Cloud)
# EU Cloud (Custom domain)
infisical login --email [email protected] --password "your-password" --domain https://eu.infisical.com
# 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
export INFISICAL_EMAIL="[email protected]"
export INFISICAL_PASSWORD="your-password"
export INFISICAL_API_URL="https://app.infisical.com/api"
# Login without additional flags
infisical login