General Input
Exec

Exec

Run bash on the operator's machine with credentials injected by the cloud's resolver.

The execution primitive. The agent invokes this when it needs to actually do something with the operator's credentials — hit an API, run a script, exec a CLI tool.

  • geni exec bash, run a bash command with one or more credentials' env vars injected. Use bash for everything: ad-hoc API calls, multi-step pipelines, invoking other languages (bash python3 …, bash bun --install auto …).

The cloud resolves credentials, injects the resolved values into a fresh subprocess as env vars, scrubs the values from any output that flows back, and exits with the subprocess's exit code. The agent never sees a plaintext credential.