Closed jchoca closed 1 month ago
Hello @jchoca,
Thank you for submitting the documentation change request. Our team will review the behaviour you've described and work on documenting the expected approach for structuring configuration keys.
We appreciate you highlighting this, and we'll make the necessary changes accordingly.
Regards, Chaitanya
Readme updated with added sections for Hierarchical configuration data.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Thank you!
Describe the issue
I can't seem to find anywhere where it's documented that hierarchical keys should be delimited by a slash. For example, say I have something like the following:
then in my
Program.cs
file I haveservices.Configure<ApplicationSettings>(config);
. If I were mapping that to an environment variable, I would usePrimaryDbRead__Password
as a key. Not knowing any better, I might use an SSM param like/my-application/PrimaryDbRead__Password
, but that doesn't work and instead needs to be/my-application/PrimaryDbRead/Password
. It would probably be better if both just worked, but having this documented is better than nothing. Is this documented anywhere?Links
https://github.com/aws/aws-dotnet-extensions-configuration/blob/master/README.md