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

Document how an SslBundle name is derived from environment variables #40936

Open
space88man opened this issue May 29, 2024 · 2 comments
Open
Labels
type: documentation A documentation update
Milestone

Comments

@space88man
Copy link

space88man commented May 29, 2024

RFE: document how an SslBundle name is derived when the property is from the environment - is it all lowercase?

If you use environment properties to configure SSL:

SPRING_SSL_BUNDLE_JKS_aFunkyNameMixedCasedString_TRUSTSTORE_LOCATION=XXXXXXXX

I'm guessing that the mapping to SslBundle name is the lowercase string afunkynamemixedcasedstring ??

In a properties/yaml file, mixed-case SslBundle names are supported.

Could it be confirmed (documented) what the SslBundle name is when Spring Boot is configured from an environment variable?

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 29, 2024
@wilkinsona wilkinsona changed the title RFE: document how an SslBundle name is derived from environment properties (all lowercase?) Document how an SslBundle name is derived from environment variables May 29, 2024
@wilkinsona
Copy link
Member

I'm guessing that the mapping to SslBundle name is the lowercase string afunkynamemixedcasedstring

Correct. Environment variables are always converted to lower case.

It's the same as log levels for which we do have some documentation. We should add something for SSL bundles as well or perhaps add something more general to which we can cross-link.

@wilkinsona wilkinsona added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels May 29, 2024
@wilkinsona wilkinsona added this to the 3.2.x milestone May 29, 2024
@shubhamdogra2011
Copy link

shubhamdogra2011 commented Jun 5, 2024

Is case-sensitivity in case of environment variables dependent on underlying OS?
And if so, is there a recommended way(yaml or env) to ensure consistency?

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

No branches or pull requests

4 participants