Closed thepaulmacca closed 4 months ago
Invalid value: "TestApp:Settings:KeyVaultMessage": a valid config key must consist of alphanumeric characters, '-', '_' or '.' (e.g. 'key.name', or 'KEY_NAME', or 'key-name'
The error is because the colon :
used in your key name Settings:KeyVaultMessage
is not a valid character for Kubernetes secret.
While Azure App Configuration accepts almost everything for key names, the users must be aware of how the keys are going to be used and comply with the restrictions of corresponding platforms (which is Kubernetes in this case).
Do you think it's worth adding something to the docs about this, with suggested examples?
I was thinking we probably could have a TSG for the Kubernetes Provider, list the frequently encountered error messages, explain more in detail, and give guides to address them.
We should try to have error messages self-explanatory as much as possble. I hope most users don't even need to look for documentation. For example, the message in this current one can be improved. But I agree to include those trickier ones that need more explanation in the troubleshooting document.
That would be good, thanks. I've been following the docs mostly up to this point, but it's clear some things work a bit differently when using the K8s provider
For some bizarre reason this looks to be working today, with my JSON file above
I'll close this issue now, thanks
When I'm applying key vault secrets (based off the docs example here I'm getting the below error:
Here is my JSON file if it helps
Is it worth mentioning this in the provider docs? Normal key/values are working fine btw
Thanks