CmdID

CmdID / az / az site / az site key

az site key create

Create a site key linked to a site. Azure CLI extensions reference

4 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

4 in the Azure CLI extensions reference
--site-key-name, --name, -nName of the SiteKey
--site-nameName of the site to link this key to.
--site-resource-idFull ARM resource ID of the site (computed automatically from --site-name).
--token-expiry-dateToken expiry date in ISO 8601 format (e.g., 2026-05-01T00:00:00Z).