https://github.com/davidsteinsland/postgres-vault-auth
Plugin for the IntelliJ IDEA for fetching database credentials from Vault
https://github.com/davidsteinsland/postgres-vault-auth
idea-plugin postgresql vault
Last synced: about 1 year ago
JSON representation
Plugin for the IntelliJ IDEA for fetching database credentials from Vault
- Host: GitHub
- URL: https://github.com/davidsteinsland/postgres-vault-auth
- Owner: davidsteinsland
- Created: 2021-02-11T11:53:17.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-03T07:57:50.000Z (over 3 years ago)
- Last Synced: 2025-04-12T09:04:22.120Z (about 1 year ago)
- Topics: idea-plugin, postgresql, vault
- Language: Kotlin
- Homepage:
- Size: 396 KB
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# PostgreSQL Vault Auth

[](https://plugins.jetbrains.com/plugin/16104-postgresql-vault-auth)
[](https://plugins.jetbrains.com/plugin/16104-postgresql-vault-auth)
Fetches credentials for a PostgreSQL database from
Vault.
This plugin assumes that `vault` is installed and available.
If you're not authenticated against Vault, the OIDC method
is selected (which will trigger your browser to open a tab with the signin process).
## Configuration (macOS)
Until the plugin provides a way of configuring itself, the
Vault address can be configured using the `VAULT_ADDR` environment variable.
To make sure it is set for the IntelliJ editor, run the following and restart IntelliJ:
```
launchctl setenv VAULT_ADDR https://vault-addr.example.org
```
## Installation
- Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Postgres Vault Auth" >
Install Plugin
- Manually:
Download the [latest release](https://github.com/davidsteinsland/postgres-vault-auth/releases/latest) and install it manually using
Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
### Postgres SVG logo Copyright
Copyright © 2021, Daniel Lundin
Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies.
IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE AUTHOR HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.