Rotate a Host-Level Key and List All Host Keys
A 2-step recipe with Microsoft Azure Functions. We can help you get access.
Recipe · 2 steps
Rotate a Host-Level Key and List All Host Keys
Set a host key and confirm via the full host key listing.
- Create or update the named host key of the given key type. ARM returns 200 when an existing key is updated or 201 when a new key is created.
- List the full host key set (master, function, and system keys) to confirm the rotated key is present.
What you'll need to have ready
- subscriptionId: The Azure subscription identifier (GUID).
- resourceGroupName: The resource group that contains the function app.
- name: The name of the function app.
- keyType: The host key type ("functionKeys" or "systemKeys").
- keyName: The name of the host key to create or update.
- keyValue: Optional explicit key value; omit to let the platform generate one.
- apiVersion: The ARM api-version to use for all requests.
For your developer
Arazzo workflow microsoft-azure-functions:rotate-host-key, 2 operations: WebApps_CreateOrUpdateHostSecret → WebApps_ListHostKeys. Specs on APIs.io.