adj login
Authenticate to an adj server and store a context
Authenticate to an adj server (org-scoped password login) and persist a context in ~/.config/adj/config.yaml.
Missing --org / --email / --password values are prompted for interactively (the password is read without echo). Prefer the ADJ_PASSWORD environment variable over --password, which is discouraged as it can leak via shell history and the process list.
Usage
adj login [flags]
Flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--context |
— |
context name to store under (default: the org slug) | |
--email |
— |
email (else prompt) | |
--org |
— |
org slug (else prompt) | |
--password |
— |
password (DISCOURAGED — prefer ADJ_PASSWORD or the prompt) | |
--server |
— |
server base URL (else the context's server, else prompt) |
Global flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--output |
-o | table |
output format: table|json|yaml |
--token |
— |
access token (overrides the active context) | |
--verbose |
-v | false |
log requests to stderr |