Git Product home page Git Product logo

Comments (3)

yevgenypats avatar yevgenypats commented on June 16, 2024

adding some more feedback. Seems there are two versions of the API that we want to support and either support it in a new plugin vault_v2 or just have more tables in the same plugin starting with vault_v2.

in vault_v1 to read the metadata one needs to read the secret https://developer.hashicorp.com/vault/api-docs/secret/kv/kv-v1#read-secret we just won't store it and only store the metadata while in vault_v2 there is a special endpoint to read the metadata

https://developer.hashicorp.com/vault/api-docs/secret/kv/kv-v1
https://developer.hashicorp.com/vault/api-docs/secret/kv/kv-v2

from cloudquery.

erezrokah avatar erezrokah commented on June 16, 2024

Opened a PR in https://github.com/cloudquery/cloudquery-private/pull/2571/files (internal repo). We don't need a separate plugin as it looks that secrets is the only API that has v1 + v2. The tricky part was the need to recursively list all secrets starting from listing mounts, then going down the path hierarchy. Couldn't find a better way to do it

from cloudquery.

erezrokah avatar erezrokah commented on June 16, 2024

Released in https://hub.cloudquery.io/plugins/source/cloudquery/vault/v2.3.0/versions

from cloudquery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.