# Enable System Assigned Managed Identity on Azure Cache for Redis to Enhance Secure Access

- Source: https://support.icompaas.com/support/solutions/articles/62000234775-enable-system-assigned-managed-identity-on-azure-cache-for-redis-to-enhance-secure-access
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [Azure Database Services Benchmark v1.0.0](https://support.icompaas.com/support/solutions/62000112693) › [Azure Database Services Benchmark](https://support.icompaas.com/support/solutions/folders/62000169261)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

**Profile Applicability:**

-   **Level 1**  
    

**Description:** System Assigned Managed Identities provide the Azure resource, such as Azure Cache for Redis, with a unique identity that is automatically managed by Azure. This identity is associated with the resource instance and removed when the resource is deleted.

**Rationale:** Using a System Assigned Managed Identity for Azure resources eliminates the need for storing credentials in code or configuration files. The identity is authenticated with Microsoft Entra ID, and access to resources is managed through Azure Role-Based Access Control (RBAC), enhancing security and simplifying identity management.

**Impact:**

-   Pros:  
    
    -   Improves security by eliminating the need for storing credentials in application code.  
        
    -   Facilitates secure access to Azure resources using Azure RBAC.  
        
    -   Automatically managed by Azure, reducing administrative overhead.  
        
-   Cons:  
    
    -   Some services may require manual configuration or additional permissions for proper access.  
        

**Default Value:**

By default, the System Assigned Managed Identity is disabled.  

**Pre-requisites:** Ensure that the required Azure permissions (e.g., RBAC roles) are available to the managed identity to access necessary resources.

**Remediation**

**Test Plan:**

**Using Azure Portal:**

1.  Log in to the Azure Portal: [https://portal.azure.com](https://portal.azure.com/).  
    
2.  Go to Azure Cache for Redis or the relevant Azure resource.  
    
3.  Click on the name of the instance.  
    
4.  Under Settings, click on Identity.  
    
5.  Under the System Assigned tab, ensure that the Status is set to On.  
    
    -   If Yes is selected and the Object (principal) ID is populated, the resource is compliant.  
        

**Using Azure CLI:**  
1\.  Run the following command to check the managed identity status

az redis show --resource-group <RESOURCE\_GROUP\_NAME> --name <CACHE\_NAME> --query identity

-   The output should show that the identity is enabled.  
    

**Implementation Plan:**

**Using Azure Portal:**

1.  Navigate to Azure Cache for Redis or the relevant Azure resource.  
    
2.  Select the instance, then go to Identity under Settings.  
    
3.  Under the System Assigned tab, toggle the Status to On.  
    
4.  Click Save and confirm by clicking Yes in the dialog that appears.  
    

**Using Azure CLI:** To enable the System Assigned Managed Identity, run the following

az redis update --resource-group <RESOURCE\_GROUP\_NAME> --name <CACHE\_NAME> --set identity.type=SystemAssigned

  

**Backout Plan:**

**Using Azure Portal:**

1.  Go to the Azure Cache for Redis service.  
    
2.  Click on Identity under Settings.  
    
3.  Under the System Assigned tab, set the Status to Off.  
    

**Using Azure CLI:**  
1.  To disable the System Assigned Managed Identity, run the following:

az redis update --resource-group <RESOURCE\_GROUP\_NAME> --name <CACHE\_NAME> --set identity.type=None

  

**References:**

-   [Azure Cache for Redis Managed Identity](https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-managed-identity)

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
