Skip to content

Commit

Permalink
chore(iac): Add Microsoft secrets to Pulumi (#3642)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Sep 9, 2024
1 parent 2e4edc6 commit 407cc6b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
4 changes: 4 additions & 0 deletions infrastructure/application/Pulumi.production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ config:
secure: AAABAKQ6L5aOwZWpj9YOsaW8bOOukjt1mZuTgdKjM/3nSmF/0nM/f9c9W9DXygUFj2wtq5/iugo1UTS0+bhEn8Dr9k1Qzr2EmuGpQw==
application:metabasePgPassword:
secure: AAABACVXNwP6Fo0v2/PoiWklNGRECTSYLRX/Ypk6APtvt9e4iOdqPVt5+tZULOxwqnfO+1bL4B6AAJxjt8gAbQ==
application:microsoft-client-id:
secure: AAABAMnDXxOB4BNSG0Sn7gZ34DiliUfgCwQ5qYzrm7QOu+mNEkXafFu6RBvaoMIeTBF3Pb0/mPJ8MM/rN4ILgX3B1PM=
application:microsoft-client-secret:
secure: AAABALqkvTVysZDJq8P01oKWVQ+aFv5oEgE2CNr81Y5WvOhyYAp5cPo4zZr/sH89EiZGfeVUzxzgRnncOefAmh+nzz2bF107
application:ordnance-survey-api-key:
secure: AAABAE+wD6ahxO45tq/JWp6odrHX9jOhdjlMsCqS6kFqBgJ+3T56fOSgpZ26nEftv9IwWZQh/v93tRtTDEb+uw==
application:session-secret:
Expand Down
4 changes: 4 additions & 0 deletions infrastructure/application/Pulumi.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ config:
secure: AAABAGmfVICD8sR+IE6mHC8BNUY1WQXGCbv5F3C1fSgA+1ADiRem3GNrwY0YRZociRYuPIo3MIRS0aIg44jt10SBCE0ik58wHamcKA==
application:metabasePgPassword:
secure: AAABADfCkSRtVTdU8wi1F+nwuHl8OeI3bm9ZzaNkIY4yOGB9dsOqS30tkD8W7GZlNoWDZT2ojoP3zOFPuTLWbQ==
application:microsoft-client-id:
secure: AAABAJhb8E/x+8SGVr036wQhlEpzGpVblSupb75+A8TNXIgSkEDx9zOu7M5Mdb1STnmlvqiw399y3SkBPfLr1x+B/Ts=
application:microsoft-client-secret:
secure: AAABANwyhzCHo1lqq/SYdaTPrBH0UiJvfkB1gYLo/x61s+zcXgn2IzqPvKnvkQayPAU67FJqu60jKGAFZFy7TPp5RHqigulC
application:ordnance-survey-api-key:
secure: AAABAKhzYRhAmGmoBY1fPF75JWSWMOTORRCUAPKqvFUJMA60U5IFDUvPZ1Y+FuLtQ6Y1sQ8Q3laXGbp0f9j3Lw==
application:session-secret:
Expand Down
18 changes: 16 additions & 2 deletions infrastructure/application/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,23 @@ export = async () => {
name: "GOOGLE_CLIENT_SECRET",
value: config.requireSecret("google-client-secret"),
},
{ name: "SESSION_SECRET", value: config.requireSecret("session-secret") },
{
name: "MICROSOFT_CLIENT_ID",
value: config.require("microsoft-client-id"),
},
{
name: "MICROSOFT_CLIENT_SECRET",
value: config.requireSecret("microsoft-client-secret"),
},
{
name: "SESSION_SECRET",
value: config.requireSecret("session-secret"),
},
{ name: "API_URL_EXT", value: `https://api.${DOMAIN}` },
{ name: "BOPS_API_TOKEN", value: config.requireSecret("bops-api-token") },
{
name: "BOPS_API_TOKEN",
value: config.requireSecret("bops-api-token"),
},
{ name: "JWT_SECRET", value: config.requireSecret("jwt-secret") },
{ name: "PORT", value: String(API_PORT) },
{
Expand Down

0 comments on commit 407cc6b

Please sign in to comment.