From 7e3d12c73abe562841e7e4580e70792bbc16a13e Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Thu, 23 Sep 2021 10:11:17 +0200 Subject: [PATCH] docs: generate zitadel keys (#1692) --- docs/docs/guides/installation/crd.md | 9 ++++++++- docs/docs/guides/installation/templates/example_keys | 6 ------ 2 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 docs/docs/guides/installation/templates/example_keys diff --git a/docs/docs/guides/installation/crd.md b/docs/docs/guides/installation/crd.md index e010de8a3c..a3512bc1ef 100644 --- a/docs/docs/guides/installation/crd.md +++ b/docs/docs/guides/installation/crd.md @@ -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= diff --git a/docs/docs/guides/installation/templates/example_keys b/docs/docs/guides/installation/templates/example_keys deleted file mode 100644 index 5cba015387..0000000000 --- a/docs/docs/guides/installation/templates/example_keys +++ /dev/null @@ -1,6 +0,0 @@ -otpverificationkey_1: passphrasewhichneedstobe32bytes! -cookiekey_1: passphrasewhichneedstobe32bytes! -domainverificationkey_1: passphrasewhichneedstobe32bytes! -idpconfigverificationkey_1: passphrasewhichneedstobe32bytes! -oidckey_1: passphrasewhichneedstobe32bytes! -userverificationkey_1: passphrasewhichneedstobe32bytes!