Running the standalone server
Ce contenu n’est pas encore disponible dans votre langue.
scimply ships as a standalone binary alongside the Go library. The binary provides a serve command that boots a production HTTP server from a YAML config file — no Go code required.
Install
Section titled “Install”Homebrew:
brew install cerberauth/tap/scimplyDocker:
docker pull ghcr.io/cerberauth/scimplyGo install:
go install github.com/cerberauth/scimply/cmd/scimply@latestOr download a pre-built binary from the GitHub releases page.
Write a config file
Section titled “Write a config file”Create scimply.yaml:
server: addr: ":8080" base_path: "/scim/v2"
auth: type: bearer_token tokens: - "my-secret-token"
store: type: memoryThis starts an in-memory server with bearer token auth. See the configuration reference for all options.
Start the server
Section titled “Start the server”scimply serveBy default, scimply looks for scimply.yaml in the current directory. Use -c to specify a different path:
scimply serve -c /etc/scimply/config.yamlThe server logs to stderr and exits cleanly on SIGINT or SIGTERM.
Docker example
Section titled “Docker example”docker run --rm \ -p 8080:8080 \ -v $(pwd)/scimply.yaml:/etc/scimply/config.yaml \ ghcr.io/cerberauth/scimply \ serve -c /etc/scimply/config.yamlProduction config example
Section titled “Production config example”server: addr: ":8443" base_path: "/scim/v2" read_timeout: "10s" write_timeout: "30s" shutdown_timeout: "30s" tls: cert_file: "/etc/certs/server.crt" key_file: "/etc/certs/server.key"
log: level: "info" format: "json"
audit: type: "json" output: "/var/log/scimply/audit.ndjson"
auth: type: "bearer_token" tokens: - "prod-token-abc"
store: type: "postgres" postgres: dsn: "postgres://scim:secret@db:5432/scimdb" table_prefix: "scim_" auto_migrate: trueNext steps
Section titled “Next steps”- Configuration reference — all fields and defaults
- Connectors — field mapping for existing databases