garden auth
Authenticate garden with the platform
garden auth| Flag | Type | Default | Description |
|---|---|---|---|
--target |
string | — | Garden backend to talk to (prod|dev); defaults to the checkout’s own target |
garden auth login
Section titled “garden auth login”Authenticate with the Garden platform
garden auth loginAuthenticate with Garden via OAuth2 PKCE. Opens a browser for interactive login and stores credentials with a refresh token for silent renewal. Also provisions a per-user mTLS certificate for direct access to the repository server.
| Flag | Type | Default | Description |
|---|---|---|---|
--target |
string | — | Garden backend to talk to (prod|dev); defaults to the checkout’s own target |
garden auth logout
Section titled “garden auth logout”Log out of the Garden platform
garden auth logoutRemove stored credentials and mTLS certificates from the local machine.
| Flag | Type | Default | Description |
|---|---|---|---|
--target |
string | — | Garden backend to talk to (prod|dev); defaults to the checkout’s own target |
garden auth status
Section titled “garden auth status”Show authentication status
garden auth status| Flag | Type | Default | Description |
|---|---|---|---|
--target |
string | — | Garden backend to talk to (prod|dev); defaults to the checkout’s own target |