Azure Cloud credentials
Seqera uses Azure Cloud credentials to access your Azure subscription for Azure Cloud compute environments. Azure Batch credentials do not work here.
Azure Cloud credentials require Microsoft Entra ID. Storage account key-based credentials are not supported.
To create and launch pipelines or Studio sessions with Azure Cloud compute environments, attach Seqera credentials with an Entra client ID and client secret pair. These credentials must also include your Azure subscription ID and Storage account configuration.
See Register an application in Microsoft Entra ID and Add and manage application credentials in Microsoft Entra ID for more information.
You need the following:
- The Azure Cloud custom role. See Azure Cloud custom role.
- An Azure Storage account for the work directory.
Register an application in Microsoft Entra ID
Create an application for Seqera to use for authentication:
- In the Azure Portal, go to App registrations and select New registration.
- Give the app a descriptive name, such as
SeqeraPlatformApp. - Select
Single tenantfor the supported account types. - Create a client secret for the application. Seqera uses this value to authenticate to Azure. Keep it secret and store it securely.
- Under Certificates & secrets, select New client secret and give it a description such as
SeqeraPlatformSecret. Set the expiration to a duration that matches your security policy. Select Add.
After registration, the application overview page opens. Copy and save the following values:
- Application (client) ID: This is your Client ID
- Directory (tenant) ID: This is your Tenant ID
Assign the custom role to the service principal
Grant the service principal the necessary permissions by assigning the custom role.
- In the Azure Portal, go to Subscriptions and select your subscription. Then select Access control (IAM) and Add role assignment in the Grant access to this resource section.
- Select the Privileged administrator roles tab and select the role you created earlier, then select Next.
- Choose Select members and search for the application name (
SeqeraPlatformApp). Then choose Select, then Next. - Under What user can do, select Allow user to assign all roles except privileged administrator roles Owner, UAA, RBAC (Recommended), then select Next.
- Check the final details and select Review + assign.
Configure Seqera Platform credentials
Add the service principal credentials to Seqera:
- Sign in to your Seqera workspace and go to the Credentials tab.
- Select Add workspace credential, select Azure as the provider, and select Cloud under Azure credential type for Microsoft Entra ID authentication.
- Enter the details of the credentials you saved earlier:
- Name: Provide a descriptive name, such as
AzureCloudCredentials - Subscription ID: Your Azure subscription ID
- Tenant ID: Your Directory (tenant) ID from the Register an application in Microsoft Entra ID instructions
- Client ID: Your Application (client) ID from the Register an application in Microsoft Entra ID instructions
- Client secret: Your client secret value from the Register an application in Microsoft Entra ID instructions
- Blob Storage account name: Your Azure Storage account name
- Name: Provide a descriptive name, such as
- Review the details, then select Add to save the credentials.