Skip to content

With backups being a last line of defense for threats such as data encryption attacks, securing access to your backup environment is especially critical. As the leading Kubernetes backup and recovery solution, Kasten K10 by Veeam provides the granular identity and access management controls required to secure your K10 environment and easily provide users with the access their roles require.


In this brief article, we'll take a look at the role-based access control (RBAC) features within the Kasten K10 UI. Follow along by watching this short demo video.



In this environment, we’ve configured Keycloak to act as the identity provider for Kasten K10, sing OpenID Connect authentication. Kasten K10 also supports Active Directory via LDAP and token-based authentication, including direct integrations with Red Hat OpenShift and Amazon EKS.

image5-1

As a native data management solution built on Kubernetes custom resource APIs, Kasten K10 is able to integrate with Kubernetes RBAC controls, out-of-the-box. In addition to built-in profiles for administrators and users, custom roles can be configured and assigned to suit the needs of your organization. 

New in Kasten K10 5.0, we areexposing this functionality through the UI to create a simpler management experience for administrators. The new User Roles screen provides the ability to manage both Roles and ClusterRoles, as well as their assignments, aka Bindings:

image18


We can create a new, custom Role by selecting the relevant Read, Write, and Delete access privileges through the UI. In this scenario I’ve defined a ClusterRole for my database administrators. This policy will allow them to create new backup policies and restore applications from available backups:

image10


However, these users should not be authorized to configure infrastructure location profiles, delete existing policies, or, most importantly, delete any backup data. Kasten K10 enables you to customize roles to prevent them from performing these actions:

image8-1


Once we save the Role, we can assign it to the database administrators:

image17


We can create the Roleinding by clicking New Assignment and begin by providing a name:

image2-1


We can choose to apply the Role to either all namespaces across the cluster or specify individual application namespaces: 

image19


Finally, we specify the relevant user group from the identity provider:

image1-1


Next, let’s create an additional Role for developers:

image7-1


Users should be able to create new backup policies to ensure that new projects are protected from the time of creation, without risk of deleting any existing policies or data, or restoring without engaging with the operations team:

image13


After we save the new Role, we can create a new ClusterRoleBinding using the “idp-devusers” group:

image15


Once this is complete, we can run a quick test to verify the capabilities of the custom roles. First, let’s log in as the database admin, “Karl”:

image3-1


Karl should only have access to the applications and policies defined as part of the Role Assignment:

image12

image9


If Karl tries to delete an existing backup policy, access will be denied. However, he should be able to view all of the available restore points for each application…

image14

…and initiate a restore operation for that application:

image16

Now let’s try logging in as the developer, “Joey”:

image3-2


Joey will find he is unable to access any of the application restore points or initiate a restore operation:

image11


However, he will have the ability to create a backup policy for the Postgres application:

image4-1


He can also view the list of available Location Profiles for exporting backup data:

image6-1

We hope you've enjoyed this quick look at how we're improving the experience for Kubernetes native RBAC capabilities in Kasten K10. Not sure which permissions you'll need for your own roles? Check the documentation at Kasten.io for a full breakdown of the Kasten K10 API.

For information about Kasten K10

Contact Us

For information about Kasten K10, please send us a message using the form on this page, or email us at contact@kasten.io

For product support: Open a case via Veeam
Community support: Veeam Community

Address:

Kasten, Inc. 
8800 Lyra Drive, Suite 450
Columbus, Ohio 43240

We value the critical role that the security community plays in helping us protect the confidentiality, integrity, and availability of our software, services, and information. If you have information about security vulnerabilities that affect Kasten software, services, or information, please report it to us via our HackerOne Vulnerability Disclosure Program, or anonymously via this form.

Please Send Us a Message