21 lines
368 B
Markdown
21 lines
368 B
Markdown
|
|
# opencode auth
|
||
|
|
|
||
|
|
> Manage credentials and login for AI providers.
|
||
|
|
> More information: <https://opencode.ai/docs/cli#auth>.
|
||
|
|
|
||
|
|
- Log in to a provider interactively:
|
||
|
|
|
||
|
|
`opencode auth login`
|
||
|
|
|
||
|
|
- List all configured providers:
|
||
|
|
|
||
|
|
`opencode auth list`
|
||
|
|
|
||
|
|
- Log out from a configured provider interactively:
|
||
|
|
|
||
|
|
`opencode auth logout`
|
||
|
|
|
||
|
|
- Display help:
|
||
|
|
|
||
|
|
`opencode auth {{[-h|--help]}}`
|