Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Support extracting non-value fields #44

Open
karlkfi opened this issue May 1, 2020 · 0 comments
Open

Feature Request: Support extracting non-value fields #44

karlkfi opened this issue May 1, 2020 · 0 comments

Comments

@karlkfi
Copy link

karlkfi commented May 1, 2020

I would like to be able to :

  1. extract the whole data payload as raw json
  2. extract the whole secret payload as raw json with metadata, like TTL
  3. I would like to be able to specify which field to extract as a raw string
  4. I would like to be able to specify multiple fields to extract as keys in a json payload

One way to do this might be to support jsonpath, the way kubectl does.

An example might be DAYTONA_SECRET_JSONPATH_SUFFIX=.data or DAYTONA_SECRET_JSONPATH_SUFFIX=.data.field. If it's a map or list, print json. If it's a string or number, print raw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant