Register the Azure Payment HSM resource providers and resource provider features
Before using Azure Payment HSM, you must first register the Azure Payment HSM resource provider and the resource provider features. A resource provider is a service that supplies Azure resources.
Register the resource providers and features
Use the Azure CLI az provider register command to register the Azure Payment HSM 'Microsoft.HardwareSecurityModules' resource provider, and the Azure CLI az feature registration create command to register the "AzureDedicatedHsm" feature.
az provider register --namespace "Microsoft.HardwareSecurityModules"
az feature registration create --namespace "Microsoft.HardwareSecurityModules" --name "AzureDedicatedHsm"
You must also register the "Microsoft.Network" resource provider and the "FastPathEnabled" Azure Feature Exposure Control (AFEC) flag. For more information on the "FastPathEnabled" feature flag, see Fathpathenabled.
az provider register --namespace "Microsoft.Network"
az feature registration create --namespace "Microsoft.Network" --name "FastPathEnabled"
Important
After registering the "FastPathEnabled" feature flag, you must contact the Azure Payment HSM support team team to have your registration approved. In your message to Microsoft support, include your subscription ID. If multiple subsciptions must connect with the payment HSM, you must include all the subscriopts IDs.
You can verify that your registrations are complete with the Azure CLI az provider show command. (The output of this command is more readable if you display it in table-format.)
az provider show --namespace "Microsoft.HardwareSecurityModules" -o table
az provider show --namespace "Microsoft.Network" -o table
az feature registration show -n "FastPathEnabled" --provider-namespace "Microsoft.Network" -o table
az feature registration show -n "AzureDedicatedHsm" --provider-namespace "Microsoft.HardwareSecurityModules" -o table
Next Steps
- Learn more about Azure Payment HSM
- Find out how to get started with Azure Payment HSM
- Learn how to Create a payment HSM
- Read the frequently asked questions