You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2022. It is now read-only.
Currently the Auto Configure Credentials provider chain is insufficient for most of my usage. While I do love autoconfiguration in this case it does not have a fallback to the default credentials provider when the following is true:
You are not configuring the key and secret in application.properties
In the above case it will fail no matter if you set the Environment or system variables for the key and secret.
Perhaps you could check the Application Properties credentials first and if those fail proceed to the default. Unless I am missing something glaring this is not the case.
My argument is as follows:
You shouldn't be setting the keys in your application.properties either way. This is a security issue.
In some cases, for local testing, you may want to set them in properties file (that are not checked into source control), but if you don't you want to fall back to something (system, env).