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

Create and Read Database Config starting with postgresql #362

Closed
rajanadar opened this issue Sep 14, 2024 Discussed in #361 · 2 comments
Closed

Create and Read Database Config starting with postgresql #362

rajanadar opened this issue Sep 14, 2024 Discussed in #361 · 2 comments
Assignees
Milestone

Comments

@rajanadar
Copy link
Owner

Discussed in #361

Originally posted by treyhendon September 13, 2024
Is it possible to create and read the database/config api?

Specifically, I'm trying to recreate Step 2 in this Postgres Database Setup example: https://developer.hashicorp.com/vault/docs/secrets/databases/postgresql#setup

vault write database/config/my-postgresql-database \
    plugin_name="postgresql-database-plugin" \
    allowed_roles="my-role" \
    connection_url="postgresql://{{username}}:{{password}}@localhost:5432/database-name" \
    username="vaultuser" \
    password="vaultpass" \
    password_authentication="scram-sha-256"
@rajanadar rajanadar added this to the 1.17.5 milestone Sep 14, 2024
@rajanadar rajanadar self-assigned this Sep 14, 2024
@rajanadar
Copy link
Owner Author

fyi @treyhendon

rajanadar added a commit that referenced this issue Sep 14, 2024
rajanadar added a commit that referenced this issue Sep 15, 2024
@treyhendon
Copy link

Thank you!

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

No branches or pull requests

2 participants