mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 20:57:24 +00:00
docs: generate zitadel keys (#1692)
This commit is contained in:
parent
b90d1cfaf8
commit
7e3d12c73a
@ -21,7 +21,14 @@ zitadelctl takeoff
|
||||
kubectl apply --filename ./database.yml,./zitadel.yml
|
||||
|
||||
# Write the encryption keys
|
||||
wget https://raw.githubusercontent.com/caos/zitadel/main/site/docs/start/templates/example_keys && zitadelctl writesecret zitadel.keys.existing --file ./example_keys
|
||||
cat EOF << zitadelctl writesecret zitadel.keys.existing --stdin
|
||||
otpverificationkey_1: $(openssl rand -base64 22)
|
||||
cookiekey_1: $(openssl rand -base64 22)
|
||||
domainverificationkey_1: $(openssl rand -base64 22)
|
||||
idpconfigverificationkey_1: $(openssl rand -base64 22)
|
||||
oidckey_1: $(openssl rand -base64 22)
|
||||
userverificationkey_1: $(openssl rand -base64 22)
|
||||
EOF
|
||||
|
||||
# Write the Twiilio sender ID and auth token so that ZITADEL is able to send your users SMS.
|
||||
TWILIO_SID=<My Twilio Sender ID>
|
||||
|
@ -1,6 +0,0 @@
|
||||
otpverificationkey_1: passphrasewhichneedstobe32bytes!
|
||||
cookiekey_1: passphrasewhichneedstobe32bytes!
|
||||
domainverificationkey_1: passphrasewhichneedstobe32bytes!
|
||||
idpconfigverificationkey_1: passphrasewhichneedstobe32bytes!
|
||||
oidckey_1: passphrasewhichneedstobe32bytes!
|
||||
userverificationkey_1: passphrasewhichneedstobe32bytes!
|
Loading…
x
Reference in New Issue
Block a user