Add or update basic auth on a static site
One step with Microsoft Azure Functions. We can help you get access.
Get something done
Add or update basic auth on a static site
Use Microsoft Azure Functions: its WebApps API Client Static Sites API lets you add or update basic auth on a static site in a single step (PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}). capabilities.work can help you get signed up and connected.
- How do I password-protect my static web app with basic auth?
- Can I change the basic auth password on an existing static site?
Say it to your AI assistant
- Set basic auth {basicAuthName} on static site {name} with these properties: {properties}.
- Turn on password protection for static web app {name}.
For your developer
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName} in WebApps API Client Static Sites API. Full spec on APIs.io.