shibayan / keyvault-acmebot

Automated ACME SSL/TLS certificates issuer for Azure Key Vault (App Service / Container Apps / App Gateway / Front Door / CDN / others)
Apache License 2.0
891 stars 233 forks source link

Utilize Managed Identity and remove any access keys from environment variables. #674

Closed SebastianClaesson closed 6 months ago

SebastianClaesson commented 6 months ago

Is your feature request related to a problem? Please describe. Storage Account keys are sensitive as they provide access to the underlying storage account. These keys must be protected. For example, the azure function interacts with it's underlying storage account using keys through the following environment variables;

Describe the solution you'd like To protect the storage account keys, they can be protected by an Azure key vault, where the Azure functions managed identity have access to. It must use the Managed identity to connect to the host storage account. Ref; Connecting to host storage with an identity

shibayan commented 6 months ago

I don't deny the use of Managed Identity across the board in environments that require more zero-trust, but I don't see the need to provide it as the default deployment template.

Acmebot can be used by simply specifying the URL of the Zip package, so it is easy to customize it for each environment.