-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove sops decrypting, receive secrets as environment variables (#8)
This is a follow up to RMI/terraform#1, it removes the `sops` dependency from our binaries and moves it into our terraform/Azure secrets configuration. Makes local dev more straightforward and improves cold start times. Signed-off-by: Brandon Sprague <[email protected]>
- Loading branch information
Showing
13 changed files
with
91 additions
and
2,054 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
env dev | ||
allowed_cors_origins https://*.dev.rmi.siliconally.dev | ||
sops_path /configs/secrets/dev.enc.json | ||
|
||
port 80 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
env local | ||
allowed_cors_origins http://localhost:3000 | ||
sops_path cmd/server/configs/secrets/local.enc.json | ||
|
||
use_local_jwts true | ||
enable_credential_test_api true | ||
|
||
allowed_domains siliconally.org,rmi.org | ||
|
||
secret_auth_private_key_id 2023-08-11 | ||
secret_auth_private_key_data -----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEINj77iKqwAKJHb0I0XVr8OhvQMpO6SVkmCGlNb9epwUO\n-----END PRIVATE KEY----- | ||
|
||
secret_azure_ad_tenant_name rmiauthlocal | ||
secret_azure_ad_user_flow B2C_1_susi_local | ||
secret_azure_ad_client_id 2d77a4a9-b7be-4451-ad47-c151d8b6c05f | ||
secret_azure_ad_tenant_id 1bdaca90-dd54-43ff-a444-ef08988a59fe |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.