Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add get_vault_secret_by_name() function #335

Merged
merged 4 commits into from
Aug 29, 2024
Merged

Conversation

burmecia
Copy link
Member

@burmecia burmecia commented Aug 26, 2024

What kind of change does this PR introduce?

This PR is to add get_vault_secret_by_name() function in the framework, so fdws can use it to retrieve a secret from Vault by name. This PR will fix #284 .

What is the current behavior?

Currently the Vault secret can only be retrieved by id, which is inconvenient using with db migrations.

What is the new behavior?

Added a new get_vault_secret_by_name() function in the framework, so downstream fdws can use it to retrieve a secret from Vault by name.

Additional context

Stripe FDW has been updated in this PR to add a new server option api_key_name, which used the new get_vault_secret_by_name() function.

@burmecia burmecia marked this pull request as draft August 26, 2024 07:40
@burmecia burmecia marked this pull request as ready for review August 26, 2024 13:31
@burmecia burmecia requested a review from imor August 27, 2024 05:21
@burmecia burmecia added stripe Stripe related issues enhancement New feature or request labels Aug 27, 2024
@burmecia burmecia merged commit dc687ea into main Aug 29, 2024
3 checks passed
@burmecia burmecia deleted the bo/feat/api_key_name branch August 29, 2024 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stripe Stripe related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The stripe wrapper is unable to lookup my secret key ID when selecting from the wrapped tables
2 participants