Skip to content

Commit

Permalink
hotfix: rename secret name
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalenic committed Nov 26, 2024
1 parent e4e186b commit 31a0cd1
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 31a0cd1

Please sign in to comment.