From 801ddbb9d0e6fdb5f8023067f92142c8db365ff1 Mon Sep 17 00:00:00 2001 From: Mike Audi Date: Sun, 13 Nov 2022 00:17:33 -0600 Subject: [PATCH] fixing configs for new scheme --- src/main/resources/application-prod.properties | 5 +++++ worker/upload/wrangler.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index f757f92..79d8c68 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -21,6 +21,11 @@ spring.security.oauth2.resourceserver.jwt.audiences=${SPRING_SECURITY_OAUTH2_RES com.mytiki.l0_storage.remote_worker.id=${COM_MYTIKI_L0_STORAGE_REMOTE_WORKER_ID} com.mytiki.l0_storage.remote_worker.secret=${COM_MYTIKI_L0_STORAGE_REMOTE_WORKER_SECRET} +# Token +com.mytiki.l0_storage.token.kid=${COM_MYTIKI_L0_STORAGE_TOKEN_KID} +com.mytiki.l0_storage.token.private_key=${COM_MYTIKI_L0_STORAGE_TOKEN_PRIVATE_KEY} +com.mytiki.l0_storage.token.exp=${COM_MYTIKI_L0_STORAGE_TOKEN_EXP} + # Sentry sentry.dsn=${SENTRY_DSN} sentry.environment=prod diff --git a/worker/upload/wrangler.toml b/worker/upload/wrangler.toml index 207e66a..3b24846 100644 --- a/worker/upload/wrangler.toml +++ b/worker/upload/wrangler.toml @@ -9,7 +9,7 @@ routes = [ compatibility_date = "2022-09-12" [vars] -PUBKEY = '{ "kty": "EC", "use": "sig", "crv": "P-256", "kid": "dc4bde16-1cff-4335-bd8f-e5639761fdbe", "x": "zAq5eyNt6b25XGckC5u4whIl558xs-IzogJqjygysZo", "y": "hjwlv3xt0L10XiJASkjOFHUxI_72ZeLI378trg8pN6c" }' +PUBKEY = '{ "kty": "EC", "use": "sig", "crv": "P-256", "kid": "4570d35d-c0f6-44ff-a40b-350264bb6e2f", "x": "xgAA9ptVg940RBe8_nPmdzYrwUuU2gIeCaRe2v6uVL8", "y": "leiAoSoJvGSUjRIL5WvL9GIYV6YJ_VzbrP8838Y0h7M" }' MAX_BYTES = 1000000 # The necessary secrets are: