mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
f817ac5240
If there is an external service like an AuthAPI that can generate JWTs and hand them over to ClusterCockpit via cookies, CC can be configured to accept them
15 lines
720 B
Plaintext
15 lines
720 B
Plaintext
# Base64 encoded Ed25519 keys (DO NOT USE THESE TWO IN PRODUCTION!)
|
|
# You can generate your own keypair using `go run utils/gen-keypair.go`
|
|
JWT_PUBLIC_KEY="kzfYrYy+TzpanWZHJ5qSdMj5uKUWgq74BWhQG6copP0="
|
|
JWT_PRIVATE_KEY="dtPC/6dWJFKZK7KZ78CvWuynylOmjBFyMsUWArwmodOTN9itjL5POlqdZkcnmpJ0yPm4pRaCrvgFaFAbpyik/Q=="
|
|
|
|
# Base64 encoded Ed25519 public key for accepting externally generated JWTs
|
|
# Keys in PEM format can be converted, see `tools/convert-pem-pubkey-for-cc/Readme.md`
|
|
CROSS_LOGIN_JWT_PUBLIC_KEY=""
|
|
|
|
# Some random bytes used as secret for cookie-based sessions (DO NOT USE THIS ONE IN PRODUCTION)
|
|
SESSION_KEY="67d829bf61dc5f87a73fd814e2c9f629"
|
|
|
|
# Password for the ldap server (optional)
|
|
LDAP_ADMIN_PASSWORD="mashup"
|