Set a host-level key on a function app slot
One step with Microsoft Azure Functions. We can help you get access.
Get something done
Set a host-level key on a function app slot
with Microsoft Azure Functions · IT Infrastructure Management
Use Microsoft Azure Functions: its Client Web Apps API lets you set a host-level key on a function app slot in a single step (PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}). capabilities.work can help you get signed up and connected.
- How do I add a host key that applies to all functions in a deployment slot?
- Can I set a system or host key type on my function app's staging slot?
Say it to your AI assistant
- On deployment slot {slot} of {app}, set the {keyType} host key {keyName} to {secretValue}.
- Add or update the {keyType} host-level key {keyName} on the {slot} deployment slot of {app}.
For your developer
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName} in Client Web Apps API. Full spec on APIs.io.