Skip to main content

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"
}
FieldDescription
tokenAPI token for authentication
apiUrlDefault API URL (overrides the built-in default)

How it's created

  • envshed login writes the token after successful device authorization
  • envshed token set <token> writes the token directly
  • envshed token clear removes 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.