-
Notifications
You must be signed in to change notification settings - Fork 467
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
KeyVault secrets are passed to module w/o secure()
decorator.
#222
Comments
@jongio Can you share an example on adding secure decorator to individual module? |
I'd go this route:
|
@jongio do we have a sample of this? |
@LittleLittleCloud are we okay to close this one? |
I'd remove "secrets" file and set each one individually so they are passed securely. |
This app creates secrets in bulk, but passes those secrets from main.bicep w/o using the secure decorator. Those secrets with therefore be in plaintext in the Azure deployment.
Add
secure()
here.azure-search-openai-demo-csharp/infra/core/security/keyvault-secrets.bicep
Line 3 in fb1ca32
If that isn't possible, then remove the keyvault-secrets.bicep file and create them with individual module references and a
secure
decorator on the key.The text was updated successfully, but these errors were encountered: