Deployments.ai Docs
Command reference

deployments auth

Authentication profiles

CommandSummary
deployments auth loginLog in with a browser session or bearer token
deployments auth logoutRemove credentials from a profile

deployments auth login

Log in with a browser session or bearer token.

deployments auth login
FlagTypeRequiredDefaultDescription
--profilestring (name)Configuration profile
--api-urlstring (url)Platform API base URL
--api-keystring (key)Bearer token
--api-key-filestring (path)File containing the bearer token
--livebooleanUse the configured live API transport
--mockbooleanUse the local mock transport
--jsonbooleanEmit JSON output
--quietbooleanSuppress successful output
--color, --no-colorbooleantrueUse ANSI color

Accepts only the flags listed here.

deployments auth logout

Remove credentials from a profile.

deployments auth logout
FlagTypeRequiredDefaultDescription
--profilestring (name)Configuration profile
--jsonbooleanEmit JSON output
--quietbooleanSuppress successful output
--color, --no-colorbooleantrueUse ANSI color

Accepts only the flags listed here.

On this page