Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.5 KB

enhance-security.md

File metadata and controls

28 lines (21 loc) · 1.5 KB

Enhance security

To achieve enterprise grade security we've ensured you can leverage the features below through an opt-in flag:

You can enable these features when deploying this sample by following these steps:

  1. Create a new environment for your deployment (you cannot update an existing one):
    azd env create my-secure-env
  2. Enable the virtual network feature and disable local authentication:
    azd env set USE_VNET true
  3. Deploy the sample to the new environment:
    azd up

Note that enabling virtual network will induce additional costs, as it requires the deployment of extra resources and needs to switch to paid plans for the Azure Functions and Azure Static Web App.

Important

When VNET is enabled, you will lose the ability to run the sample locally while connected to Azure resources. You can always fall back to using a local AI model and database for development purposes, by deleting the api/.env file