db-external-command-auth
JetBrainse1ceaffe-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" }
Rating distribution
Reviews 4
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.
Exactly what I needed to be able to connect to my databases securely without hassle. Thanks!!
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...
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”
Database Navigator
oracle
Database Tools and SQL for WebStorm
JetBrains
XLS Loader
JetBrains
Redis
bruce-ge
DynamoDB
Anton_Shuvaev
Elasticsearch
Anton_Shuvaev