A way to resolve values for a similarly named entry from more than 1 provider
Feature Request
A way to resolve values for a similarly named entry from more than 1 provider
Hey @kevbook can you please elaborate this case? Example usecase will be perfect
Absolutely. A common use case:
- Our dev creds for service X lives on AWS secrets manager
- As engineers are working locally, they tend to override certain env vars
aws_secretsmanager:
env:
# Values http,library-a
DEBUG_LOGGER:
path: dev/service-x
dotenv:
env:
# Values http,library-a,library-b,library-c
DEBUG_LOGGER:
path: .local.env
A key can be in 2 vaults, there is no way to set precedence when using teller show|sh|json|yaml
I'll continue with your example. Why are you configuring the same key name (DEBUG_LOGGER). In case you are not working with Teller and using an environment variable, you need it to be unique. You have an option to create a prefix to each entry and use teller template.
What do you expect from teller to do? Add a prefix to each entry with the provider name?
@kevbook, any thoughts about my previous message?
As it's been quite some time since I've received any response to this pull request, I'll be closing it for now. Thank you for your consideration and time.
If anyone would like to continue the discussion on this issue, please feel free to reopen the ticket.