Zum Inhalt springen

Secure access with role-based access control (RBAC) in Container Registry

Zuletzt aktualisiert am

Managing who has access to your container images is critical for security and collaboration. STACKIT Container Registry offers flexible Role-Based Access Control (RBAC) through two primary methods: centralized assignment with the STACKIT Portal, and project-specific assignment with magic links in the registry UI.

Section titled “Centralized Assignment with the STACKIT Portal (recommended)”

The most efficient way to manage access is by assigning internal Container Registry roles directly to users within the STACKIT Portal.

When you assign a specific STACKIT role to a user inside a STACKIT Project, that user is automatically granted the corresponding role across all Container Registry projects contained within that STACKIT Project.

For general instructions on how to assign roles in the portal, please refer to the STACKIT Role Assignment Documentation.

When assigning explicit Container Registry roles in the STACKIT Portal, they map to the underlying Harbor project roles as follows:

Even if you do not assign a specific Container Registry role, users inherit base permissions depending on their overarching role within the STACKIT Project:

Section titled “Project-specific assignment with a magic link”

If you need to grant access to a specific registry project without modifying overarching STACKIT Portal roles, you can assign roles directly within the registry UI using the “Members” folder.

  1. Open your project in the Container Registry UI. 2. Navigate to the Members tab/folder.
  2. Click the button to Add User. 4. A form will appear. Enter the list of email addresses you want to invite and select the wanted role for these users.
  3. Once the form is fulfilled and submitted, the system will generate a magic link. 6. Copy this magic link and send it directly to the users. They must use this link to complete their first login and activate their access to the project.

Because users can be granted access through both the STACKIT Portal (Method 1) and magic links (Method 2), role conflicts may occur.