File tree Expand file tree Collapse file tree
content/manuals/ai/sandboxes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,6 +123,20 @@ option.
123123> See the [ FAQ] ( faq.md ) for details on why sign-in is required and what
124124> happens with your data.
125125
126+ ### Non-interactive login
127+
128+ For CI environments and scripts where a browser is not available, use a
129+ Docker Personal Access Token (PAT) with ` --username ` and ` --password-stdin ` :
130+
131+ ``` console
132+ $ echo " $DOCKER_PAT " | sbx login --username < your-docker-id> --password-stdin
133+ ```
134+
135+ ` --password-stdin ` reads the token from standard input to keep it out of
136+ your shell history. Generate a PAT from your
137+ [ Docker account settings] ( https://app.docker.com/settings/personal-access-tokens )
138+ with at least ** Read** scope.
139+
126140## Authenticate your agent
127141
128142Agents need credentials for their model provider. How you provide them depends
You can’t perform that action at this time.
0 commit comments