-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Labels
doc-readmedocumentationThis is a problem with documentation.This is a problem with documentation.module/sys-mgr-extp2This is a standard priority issueThis is a standard priority issuequeued
Description
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:
public class ApplicationSettings
{
public SqlSettings PrimaryDbRead { get; set; }
public SqlSettings PrimaryDbWrite { get; set; }
}
public class SqlSettings
{
public string Server { get; set; }
public string DatabaseName { get; set; }
public string User { get; set; }
public string Password { get; set; }
}
then in my Program.cs
file I have services.Configure<ApplicationSettings>(config);
. If I were mapping that to an environment variable, I would use PrimaryDbRead__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
Metadata
Metadata
Assignees
Labels
doc-readmedocumentationThis is a problem with documentation.This is a problem with documentation.module/sys-mgr-extp2This is a standard priority issueThis is a standard priority issuequeued