Skip to content

Commit

Permalink
Merge pull request #276 from umccr/hotfix/secret-keys
Browse files Browse the repository at this point in the history
hotfix: rename secret name
  • Loading branch information
mmalenic authored Nov 26, 2024
2 parents e4e186b + 31a0cd1 commit 4d26575
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/lib/htsget-lambda-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,14 @@ export class HtsgetLambdaStack extends Stack {
if (settings.copyExampleKeys) {
const dataDir = path.join(__dirname, "..", "..", "data", "c4gh", "keys");
const private_key = new Secret(this, "SecretPrivateKey", {
secretName: "htsget-rs/c4gh-private-key", // pragma: allowlist secret
secretName: "htsget-rs/private-key-c4gh", // pragma: allowlist secret
secretStringValue: SecretValue.unsafePlainText(
readFileSync(path.join(dataDir, "bob.sec")).toString(),
),
removalPolicy: RemovalPolicy.RETAIN,
});
const public_key = new Secret(this, "SecretPublicKey", {
secretName: "htsget-rs/c4gh-recipient-public-key", // pragma: allowlist secret
secretName: "htsget-rs/recipient-public-key-c4gh", // pragma: allowlist secret
secretStringValue: SecretValue.unsafePlainText(
readFileSync(path.join(dataDir, "alice.pub")).toString(),
),
Expand Down

0 comments on commit 4d26575

Please sign in to comment.