From 858bbe018ea3a80cfd5153e119826c6d3fd171ad Mon Sep 17 00:00:00 2001 From: Gerhard Lazu Date: Sat, 30 Nov 2024 19:22:56 +0000 Subject: [PATCH] Improve on the Zulip auth app integration We want to reference all secrets from 1Password so that when we need to rotate anything, we simply update the values in 1Password and restart the app so that it reads the new values just-in-time, at boot time. FTR: - https://github.com/thechangelog/changelog.com/pull/492#issuecomment-1872528092 Signed-off-by: Gerhard Lazu --- env.op | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/env.op b/env.op index 90b9b2c878..fbdbb9aab5 100644 --- a/env.op +++ b/env.op @@ -54,3 +54,13 @@ export TYPESENSE_URL="op://changelog/typesense/url" export STRIPE_SECRET="op://changelog/stripe/api_secret" export STRIPE_WEBHOOK_SECRET="op://changelog/stripe/webhook_secret" + +export STRIPE_SECRET="op://changelog/stripe/api_secret" +export STRIPE_WEBHOOK_SECRET="op://changelog/stripe/webhook_secret" + +export ZULIP_ADMIN_USER="op://changelog/zulip/admin_user" +export ZULIP_ADMIN_API_KEY="op://changelog/zulip/admin_api_key" +export ZULIP_USER="op://changelog/zulip/user" +export ZULIP_API_KEY="op://changelog/zulip/user_api_key" +export ZULIP_BOT_USER="op://changelog/zulip/bot_user" +export ZULIP_BOT_API_KEY="op://changelog/zulip/bot_api_key"