d

db-external-command-auth

JetBrains

e1ceaffe-4da5-4be5-a763-863c0058c5ee · v—

Use an external command to acquire database connection credentials. Executes an external command and extracts database and username from its output. The command is executed in the project’s root directory, if that can be resolved. The plugin will first attempt to extract the information from output from a Vault -like JSON with the following format: { "data": { "username": "username", "password": "password" }

DatabaseSecurity
Open in store ↗ id: 23933
Downloads
1K
1 261
Rating
4.1 ★
3 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 3 ratings
5★ 100.0%

Reviews 4

★★★★★ Alex Theodore 2026-06-23

SUPER helpful. Solves my exact problem. A few hints: A one-liner is difficult to fit everything into sometimes. So I made a simple bash script that has everything and put it in my root dir. There isn't a native way to surface errors, so in my bash script, I have errors going to a local file that I can monitor. Makes diagnosing easy. I did have some issues, and this was essential to figuring them out.

★★★★★ bawuahk 2025-12-04

Exactly what I needed to be able to connect to my databases securely without hassle. Thanks!!

★★★★★ Jesse van der Velden 2025-10-23

Just what I needed! Something to keep in mind: if you use environment variables (like a simple: echo {"data": {"username": "user", "password": "%JWT%"}} on Windows cmd or echo '{"data": {"username": "user", "password": "'"$JWT"'"}}' on macOS/ Linux), and change it while the IDE is running, you’ll need to restart the IDE because it and its child processes inherit a snapshot of the environment...

★★★★★ Theron Stanford 2025-12-10

This works GREAT with my AWS databases, no more copy-paste from the AWS command-line interface. However, it did take a bit of playing with to get the external command working. Hopefully we will see support for DataGrip 2025.3 soon!

Similar in “Database”