Skip to content

feat: add the NBS_API_PUB_KEY environment var#28

Merged
alismx merged 4 commits intomainfrom
mcm/feat-nbs-api-key
May 21, 2025
Merged

feat: add the NBS_API_PUB_KEY environment var#28
alismx merged 4 commits intomainfrom
mcm/feat-nbs-api-key

Conversation

@mcmcgrath13
Copy link
Copy Markdown
Contributor

Following the pattern for NBS_PUB_KEY to add support for the api version of the pub key

@mcmcgrath13 mcmcgrath13 requested a review from alismx May 20, 2025 17:58
Comment thread _variable.tf Outdated
type = string
description = "The public key used to validate the incoming authenication for the eCR Viewer API."
default = <<EOT
-----BEGIN PUBLIC KEY-----
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mcmcgrath13 Will you remove this default? We're going to add a value downstream.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should I delete it for both nbs keys?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pushed up deleting both - let me know if the original one needs restoring

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete both! Thanks.

@mcmcgrath13 mcmcgrath13 requested a review from alismx May 21, 2025 19:54
Comment thread _variable.tf
kd+ONf43CmqDSTa3atSFq4sCAwEAAQ==
-----END PUBLIC KEY-----
EOT
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, we'll need an empty default so that we aren't required to fill in a prompt or pass something in when Terraform is run. My bad on the wording in my request!

default = ""

@alismx alismx merged commit 1791070 into main May 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants