peach auth
Print the auth source the CLI will use, and for a desktop session the account that remote simulators and boxes bill to. An API key comes from PEACH_API_KEY or the one peach setup saved. Use peach login and peach logout for the browser-backed desktop session.
terminal
Options
| flag | description |
|---|---|
key create | create an API key for the signed-in account, free on every plan, and print it once; needs peach login first |
PEACH_API_KEY | env var for API-key auth; it wins over a saved key |
Examples
terminal
Auth Sources
auth prints the credential the CLI will use. An API key comes from PEACH_API_KEY, or else the key peach setup saved from PEACH_API_KEY, ~/Downloads/peach-api-key.txt or a paste. auth key create creates one for the signed-in account and prints it once; Billing → API Keys on peachsim.com lists and revokes them. Every account, the free Seed plan included, can create keys. login stores a desktop session token for interactive local uploads, and logout clears it and the saved key.