developers · pack · pack · preview
zeroauthy
01what it does
Stand up zeroauthy — the Apache-2.0 Go identity provider from the OccupySaaS community — from its published container image or its release binaries. This pack installs and documents it; it never vendors or hosts it.
02runtime
awdk>=3.8.0
03adopt it
# Source, docs and the compatibility matrix (Apache-2.0): # https://github.com/occupysaas/zeroauthy git clone https://github.com/occupysaas/zeroauthy cd zeroauthy # Their quickstart (docs/quickstart.md) covers the TLS certificate pair and # master.key that the server requires before it will start. # Put cert.pem, key.pem and master.key where the run command below expects. # Run the published image. Tag 1.0.0-rc.1 is the current public release. docker run -d --name zeroauthy -p 8443:8443 -v zeroauthy-data:/data \ -v "$PWD/certs:/certs:ro" \ -e ZEROAUTHY_SERVER__LISTEN=:8443 \ -e ZEROAUTHY_SERVER__SYSTEM_HOST=system.localhost:8443 \ -e ZEROAUTHY_SERVER__TLS_CERT_FILE=/certs/cert.pem \ -e ZEROAUTHY_SERVER__TLS_KEY_FILE=/certs/key.pem \ -e ZEROAUTHY_SECURITY__MASTER_KEY="$(cat master.key)" \ ghcr.io/occupysaas/zeroauthy:1.0.0-rc.1 # First admin, then sign in at https://system.localhost:8443/ docker exec zeroauthy zeroauthy admin create --email you@example.com # No Docker? Release binaries for linux/amd64, linux/arm64 and darwin/arm64 # are on their releases page, with a SHA256SUMS file.