Global Config (~/.envshed/config.json)
The global config stores user-level settings, primarily the authentication token.
Location
~/.envshed/config.json (in your home directory).
Format
{
"token": "envshed_abc123...",
"apiUrl": "https://app.envshed.com"
}
| Field | Description |
|---|---|
token | API token for authentication |
apiUrl | Default API URL (overrides the built-in default) |
How it's created
envshed loginwrites thetokenafter successful device authorizationenvshed token set <token>writes the token directlyenvshed token clearremoves the token
Security
The token grants full access to your Envshed account. Keep this file secure and never commit it to version control. The file is stored in your home directory and is not project-specific.