# Setup and administration with OpenID Connect
You can use OpenID Connect and your existing identity provider (IdP) framework to manage access to CDF data securely. We currently support Azure AD, Microsoft's cloud-based identity and access management service.
This article explains how an Azure Active Directory (AD) administrator can control access to CDF Transformations using the organization's IdP.
When you have registered CDF Transformations, users can sign in with their organizational ID to transform data in a CDF project.
You can update existing transformations that are currently using API keys to use OIDC client credentials instead.
NOTE: CDF projects running in Google Cloud Platform need to be allowlisted to support scheduling of transformations using OpenID Connect. Contact your Cognite representative to be added to the allowlist.
In this article:
To perform the steps below, you need to be an administrator of Azure AD.
# Before you start
Make sure you have registered the Cognite API and the CDF portal application in Azure AD and set up Azure AD and CDF groups to control access to CDF data.
# Step 1: Register an app in Azure AD to use with CDF Transformations
Sign in to the Azure portal (opens new window) as an admin.
If you have access to multiple tenants, use the Directory + subscription filter in the top menu to select the tenant in which you want to register an application.
Search for and select Azure Active Directory.
Under Manage, select App registrations > New registrations.
In the Register an application window, enter the app name, and then select Register.
Copy and make a note of the Application (client) ID. This value is required for authentication when reading and writing data in CDF Transformations.
Under Manage, select Certificates & secrets > New client secret.
Enter a client secret description and an expiry time, and then select Add.
Copy and make a note of the client secret in the Value field.
Make sure you copy this value now. This value will be hidden after you leave this page.
# Step 2: Add app to an Azure AD group
Open the overview window in Azure and select Manage > Groups.
Open the group you want to add the app to. If you need to create a group, read more here.
Under Manage, select Members > Add members.
Find the app you created above and click Select.
Add all users you want to have access to CDF Transformations as members.
Return to the overview, and then copy and make a note of the Object Id.
# Step 3: Create a group in CDF and link to the Azure AD group
Sign in to Cognite Data Fusion (opens new window)as an admin.
In the top menu, select Manage & Configure > Manage access.
In the Access management window, select Groups > Create new group.
In the Create a new group window, enter transformations (case sensitive) as the group name.
Add relevant capabilities. The minimum requirement is to add the
Link the Transformations group to an Azure AD group:
In the Source ID field, enter the Object Id for the AAD group exactly as it exists in AAD. You can use the same group Id for multiple transformations.
In the Source name field, enter the name of the group in Azure AD.
# Step 4: Run transformations
- Verify that the configuration is successful by following the steps in this article.
Transformations with the same Client ID run as the same user with the same access. This ID and the Client secret must be given before a user can schedule and run transformations.