dnitsch / configmanager

Config and Secret management across multiple implementations in a uniform way. Inc. AWS SecretsManager/ParameterStore, GCP Secrets, AzureKeyVault, Azure AppConfig, Hashicorp Vault

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow for retrieval of specific property from a map like secret/config item

dnitsch opened this issue · comments

In some cases you want to store a map with a number of config/secret items in it but depending on the implementor you may only want a single value back

Proposed structure

AWSPARAMSTR#/nonprod/config/general|property1
or
AWSPARAMSTR#/nonprod/config/general|prop1.prop2OfProp1

Where the | delimeter would be used to dig into the item - this means that people can use . in the actual name of the token and then can also use a JSONPath type expression

when invoking via the CLI the resulting value can be written into a speficied file in this format

general|prop1.prop2OfProp1 ==> GENERAL__PROP1_PROP2OFPROP1 where | would become __ and any path separator would be _.

this has now been implemented