kafka-connect-vault-config-provider's People
kafka-connect-vault-config-provider's Issues
Missing a full example
Thanks for this opensource vault provider
I could not make it work fully , the kafka-connect worker start correctly but when I submit a connector it fail
kafka connect worker config :
CONNECT_CONFIG_PROVIDERS: 'file,vault'
CONNECT_CONFIG_PROVIDERS_FILE_CLASS: 'org.apache.kafka.common.config.provider.FileConfigProvider'
CONNECT_CONFIG_PROVIDERS_VAULT_CLASS: 'com.provectus.kafka.connect.config.VaultConfigProvider'
CONNECT_CONFIG_PROVIDERS_VAULT_PARAM_VAULT_AUTH_METHOD: token
CONNECT_CONFIG_PROVIDERS_VAULT_PARAM_URI: http://vault:8200
CONNECT_CONFIG_PROVIDERS_VAULT_PARAM_TOKEN: s.kunJxvnkfyXXXXXXXXXXX
Connector config :
"database.password": "${vault:cubbyhole/INVENTORY_CONNECTOR_POSTGRES:PASSWORD}",
If I curl the secret with the same token then the kafka-conect config
curl --header "X-Vault-Token: s.kunJxvnkfyXXXXXXXXXXX" localhost:8200/v1/cubbyhole/INVENTORY_CONNECTOR_POSTGRES
it answer
{"request_id":"d16b6c14-7a37-068d-346c-dad7a8bb107c","lease_id":"","renewable":false,"lease_duration":0,"data":{"PASSWORD":"postgres"},"wrap_info":null,"warnings":null,"auth":null}
but when I submit the connector I have this error :
{"error_code":500,"message":"com.bettercloud.vault.VaultException: Vault responded with HTTP status code: 404\nResponse body: {\"errors\":[]}\n"}(venv)
Thanks for your help.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.