Integrate with Veeam Backup & Replication
Support level: Community
What is Veeam Backup & Replication?
Veeam Backup & Replication is a comprehensive data protection and disaster recovery solution. It enables image-level backups of virtual, physical, and cloud workloads and supports flexible restore options across the entire environment.
-- https://www.veeam.com/products/veeam-data-platform/backup-recovery.html
Preparation
The following placeholders are used in this guide:
vbr.companyis the FQDN of the Veeam Backup & Replication server.authentik.companyis the FQDN of the authentik installation.
This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application.
You need one or more existing groups in authentik to assign roles in Veeam Backup & Replication.
Veeam Backup & Replication pre-configuration
- Log in to the Veeam Backup & Replication console as an administrator.
- From the main menu, select Users & Roles.
- Open the Identity Provider tab.
- Select Enable SAML authentication.
- Under Service Provider (SP) information, click Install to select a valid Veeam Backup & Replication server certificate.
- Under Service Provider (SP) information, click Download to save the service provider metadata XML file. You will upload this file to authentik in the next section.
authentik configuration
To support the integration of Veeam Backup & Replication with authentik, you need to create an application/provider pair in authentik.
Create an application and provider in authentik
- Log in to authentik as an administrator and open the authentik Admin interface.
- Navigate to Applications > Applications and click New Application to open the application wizard.
- Application: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings.
- Choose a Provider type: select SAML Provider from Metadata as the provider type.
- Configure the Provider: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configuration:
- Metadata: select the SP metadata XML you downloaded from Veeam Backup & Replication during the pre-configuration step.
- Configure Bindings (optional): you can create a binding (policy, group, or user) to manage the listing and access to applications on a user's Application Dashboard page.
- Click Submit to save the new application and provider.
- Navigate to Applications > Providers and click the provider you created.
- Open the Metadata tab and click Download to save the identity provider metadata XML file.
Veeam Backup & Replication configuration
- Switch back to the Veeam Backup & Replication console and reopen Users & Roles > Identity Provider.
- Under Identity provider (IdP) information, click Browse and select the metadata XML you downloaded from authentik in the previous step.
- Click OK to save the SAML configuration.
Map authentik groups to Veeam roles
To grant access to a user, the authentik group the user belongs to must be mapped to a Veeam role.
- In the Veeam Backup & Replication console, open Users & Roles and switch to the Security tab.
- Click Add > External user or group.
- From the Type menu, select Group.
- In the Name field, enter the name of the authentik group whose members should be granted the role.
- From the Role menu, select the role that you want to assign to members of this group.
- Click OK to save the role mapping.
The group name that you enter in Veeam Backup & Replication must match the authentik group name.
Configuration verification
To confirm that authentik is properly configured with Veeam Backup & Replication, log out of the Veeam Backup & Replication console and click Sign in with SSO on the sign-in screen. You should be redirected to authentik to log in, then redirected back to the Veeam Backup & Replication console.