Skip to main content
ancha secrets manages the variables your agents receive when they run in your hosted workspace, such as OPENAI_API_KEY. Values come from your current shell’s environment, never from command arguments, and the CLI never prints them. Sign in first with ancha login, or set ANCHA_SERVER_URL and ANCHA_API_KEY.

ancha secrets set

Output
Names are upper snake case, up to 64 characters. The workspace restarts its processes to pick up the change.

ancha secrets list

Prints the names, one per line, never the values.

ancha secrets unset

Output

Errors

See Secrets for which agents receive them.