ABAC - Demonstrations - Rafay Product Documentation

Examples

Attribute-Based Access Control (ABAC) is a flexible and powerful access control model that provides a granular level of control over access to resources. To illustrate the effectiveness of ABAC, let's explore some examples that demonstrate its practical applications in different scenarios.


Use Case 1: Allow Amazon EKS Cluster-read

The below use case creates a rule with read-only permission for all the EKS clusters

Now those users will have only read access to the EKS Clusters and cannot perform actions


Use Case 2: Deny AKS Cluster label Read/Write access

The below use case creates a rule that denies the read/write access to a few AKS Cluster labels

Now those users will not have both read/write access to the specified AKS Cluster labels


Use Case 3: Allow write access to specific VMWare Clusters

The below use case creates a rule that allows read/write access only to a few VMWare clusters

Important

On selecting "write access", read access is granted by default, as "write access" encompasses the highest level of access rights

Now those users will have both read/write access only to the VMware Clusters "demo_cluster" and "vmware_cluster"


Use Case 4: Deny read/write access to specific GKE Clusters

The below use case creates a rule that denies read/write access to a few GKE clusters

Now those users will no longer have read/write access to the GKE Clusters named "demo_cluster" and "gke_cluster." However, they will retain access to other GKE clusters, as well as clusters of different types (UPSTREAM, AKS, EKS, etc.).