Client Binary — Coming Soon
Pre-built prism CLI binaries will be available here once a release
is published. Until then, build from source with Cargo.
cargo build --release -p prism-cli
Getting Started guide →
EC2 bootstrap script
prism-ec2-bootstrap.py is published with each CLI release. It gives an EC2
instance a Prism identity, X.509 and SSH host certificates, and optionally sets up
Prism SSH user certificate logins. See
EC2 Host Identity and SSH Certificates.
curl -fsSL -o prism-ec2-bootstrap https://www.ycoll.com/prism/releases/prism-ec2-bootstrap.py
Service account registration script
prism-sa-register.py is published with each CLI release. It registers a
machine as an existing service account using a single-use invite token, and later
prints access tokens for it. It needs only Python 3 and openssl.
An admin creates the invite (valid for 24 hours by default) and hands over the token:
prism service-accounts invites create --project my-project --service-account build-runner
On the machine, register a public key (the private key never leaves the machine), or
use --api-key to have Prism create an API key instead:
curl -fsSL -o prism-sa-register https://www.ycoll.com/prism/releases/prism-sa-register.py
chmod 755 prism-sa-register
PRISM_SA_INVITE_TOKEN=prism_... ./prism-sa-register register --server https://prism.example.com --public-key
curl -H "Authorization: Bearer $(./prism-sa-register token)" https://prism.example.com/api/v1/auth/caller-identity