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

Few improvements in a config file #71

Open
vadymus96 opened this issue Dec 7, 2020 · 4 comments
Open

Few improvements in a config file #71

vadymus96 opened this issue Dec 7, 2020 · 4 comments

Comments

@vadymus96
Copy link

vadymus96 commented Dec 7, 2020

Hello,

thanks for your effords for this product!

I work with massive .json files for .Net apps and faced with the problem of multiple entries in 'resource' chapter.
Previously I had an experience to use consul-template and we managed 3K keys in our templates. For now we expect to support ~1.4K keys with AKVA.

I'd suggest to:

  • use multiple names for an each secret entry - to reduce the # of lines in the config file
  • use '*' for as names in case that there is only one vaultBaseURL (names can be easy taken from a template file)
  • use variables for vaultBaseURL - would help in case you have only one URL for all secrets

Thanks.

@vadymus96 vadymus96 changed the title template as a file Few improvements in a config file Dec 7, 2020
@chrisjohnson
Copy link
Contributor

We recently merged 1.5.0 which adds support for all-secrets -- a feature to fetch every secret from a vault and store it in the Secrets list (as well as a toValues helper to make converting every secret into a large JSON blob) -- wonder if this helps your use case?

We'll also be looking to solve the vaultBaseURL repetition problem soon

@chrisjohnson
Copy link
Contributor

Could you clarify more what you mean by

use multiple names for an each secret entry - to reduce the # of lines in the config file

@Serneum
Copy link
Contributor

Serneum commented Feb 4, 2021

Could you clarify more what you mean by

use multiple names for an each secret entry - to reduce the # of lines in the config file

I think it would be something like

name: secret1 secret2 secret3
kind: secret
vaultBaseUrl: myvault.azure.net

That would reduce a lot of duplication when many secrets share the same vault

@vadymus96
Copy link
Author

Serneum, absolutely. That's what I meant. Thanks.

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

No branches or pull requests

3 participants