Skip to content
Praxis is in alpha. The supported API is praxis.io/alpha, and the contract can change while Praxis is in alpha.About the alpha contract

Configure an AWS account

Praxis names AWS credential configurations so templates and deployments can select an account without embedding credentials in CUE.

For local development, the Docker Compose stack provides a local account configured for Moto:

Terminal window
praxis plan examples/vpc/basic-vpc.cue \
--account local \
-f examples/vpc/basic-vpc.vars.json

For AWS, Praxis supports runtime account configuration using role assumption or static credentials. Role assumption is preferred for real environments because long-lived access keys do not need to live in Praxis configuration.

Commands that call provider APIs accept --account. You can also set:

Terminal window
export PRAXIS_ACCOUNT=prod

An explicit command flag takes precedence over the environment default. Workspaces can supply their own default account for repeated team workflows.

Driver services request credentials for the named account through the Auth Service when they need to call AWS. Templates contain resource intent, not AWS secrets.