Skip to content

garden auth

Authenticate garden with the platform

Terminal window
garden auth
Flag Type Default Description
--target string Garden backend to talk to (prod|dev); defaults to the checkout’s own target

Authenticate with the Garden platform

Terminal window
garden auth login

Authenticate 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

Log out of the Garden platform

Terminal window
garden auth logout

Remove 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

Show authentication status

Terminal window
garden auth status
Flag Type Default Description
--target string Garden backend to talk to (prod|dev); defaults to the checkout’s own target