-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
Hello.
I'd love to use your plugin side by side with Redis in version 6-alpine, Vault in version 1.9.4 with Postgres as data storage, and spring-cloud-vault
with Multiple Databases approach.
Yet, I've made it only until plugin initialization, which returns 400 HTTP error code and the following response:
michal@michal:~/code/monitoring/vault/plugin$ docker exec -it monitoring_vault_1 vault write database/config/transaction-service \
plugin_name="redis-database-plugin" \
host="redis" \
port=6379 \
username="redis" \
password="changeit" \
allowed_roles="transaction-service"
Error writing data to database/config/transaction-service: Error making API request.
URL: PUT http://vault:8200/v1/database/config/transaction-service
Code: 400. Errors:
* error creating database object: invalid database version: 2 errors occurred:
* fork/exec /config/plugin/redis-database-plugin: no such file or directory
* fork/exec /config/plugin/redis-database-plugin: no such file or directory
Vault docker log:
2022-03-24T15:39:32.705Z [INFO] secrets.database.database_4ffbc22d.redis-database-plugin: configuring client automatic mTLS
The aforementioned file is accessible from my docker environment:
michal@michal:~/code/monitoring/vault/plugin$ docker exec -it monitoring_vault_1 ls -l /config/plugin/redis-database-plugin
-rwxrwxr-x 1 1000 vault 14686652 Mar 24 15:49 /config/plugin/redis-database-plugin
Thus I'm wondering if this is happening due to an issue on my side or perhaps this plugin is not compatible with either Vault 1.9.4 or Redis 6.
Cheers!
Michal
Metadata
Metadata
Assignees
Labels
No labels