feat: add standalone OpenBao with Route53 Go example#2382
Merged
cb-github-robot merged 1 commit intocloud-barista:mainfrom Mar 25, 2026
Merged
feat: add standalone OpenBao with Route53 Go example#2382cb-github-robot merged 1 commit intocloud-barista:mainfrom
cb-github-robot merged 1 commit intocloud-barista:mainfrom
Conversation
- Add a standalone Go example to fetch AWS credentials from OpenBao and query Route53 DNS records. - Use the official OpenBao Go SDK (github.com/openbao/openbao/api/v2) to maintain API compatibility. - Provide `.env.example` to ensure sensitive access keys or vault tokens are managed locally.
Member
|
Thanks! LGTM |
Member
|
/approve |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds an example that uses AWS credentials obtained from OpenBao to find the hosted zone and list DNS records in AWS Route 53.
.env.exampleto ensure sensitive access keys or vault tokens are managed locally.How to run the example:
Start Services (including OpenBao)
Run the following command in the project root:
Configure Environment Variables (
.env)Navigate to the example directory and create a
.envfile from the template:cd src/examples/openbao-and-route53 cp .env.example .envUpdate the following in
.env:VAULT_TOKEN: Copy theVAULT_TOKENvalue from the.envfile in the project root.ROUTE53_DOMAIN: Enter the domain you wish to query (YOUR_DOMAIN).Execute the Example
Once configured, run the following command to see the Route53 DNS records: