Azure Active Directory
This guide walks you through configuring your Azure Active Directory (Azure AD) as a SAML SSO identity provider (IDP) for the Pulumi Console.
Prerequisites
Configuring Azure AD
Add an application to your Azure AD tenant
-
In the Azure portal, on the left navigation panel, click Azure Active Directory.
-
Click Enterprise applications. It will show some of the existing applications in your Azure AD tenant.
-
Click New application.
-
Select Non-gallery application tile and in the Add your own application panel, enter Pulumi Console as the application name then click Add.
-
In the new Pulumi Console application, navigate to the Single sign-on section, and select SAML.
-
Click the Edit icon on the Basic SAML Configuration panel.
Enter Pulumi configuration into your Azure AD application
The values you need to use are dependent upon your Pulumi organization name.
Be sure to replace acmecorp
with your actual organization name.
SAML Setting | Value |
---|---|
Identifier (Entity ID) | https://api.pulumi.com/login/<acmecorp>/sso/saml/metadata |
Reply URL | https://api.pulumi.com/login/<acmecorp>/sso/saml/acs |
Relay State | https://api.pulumi.com/login/<acmecorp>/sso |
Configure the name identifier format
- Click the Edit icon on the User Attributes & Claims panel.
- Then, click on the Edit icon next to Name identifier value.
- In the Manage User Claims panel, expand Choose name identifier format and select Email address.
- Finally, click Save at the bottom of the Manage User Claims panel.
Important: Do not change the value of Name ID Format value once your users have started using Pulumi—not even switching its value between Email or Persistent.
Note: Be sure to assign users and groups to use your new Pulumi Console SAML application. That is how you can control membership access to your Pulumi organization. See the Azure AD documentation for more information.
Now that the Azure AD-side of the SAML SSO configuration is complete, you will need to configure the Pulumi Console to receive SAML SSO requests from your Azure AD.
Configuring Your Pulumi Organization
To configure your Pulumi organization to accept SAML SSO requests from Azure AD, you will need to download the SAML application’s configuration data and then pass that to Pulumi.
-
Back on the Azure AD’s application settings page, click the SAML Signing Certificate panel. Then click Download next to Federated Metadata XML and save the resulting file.
-
Sign into the Pulumi Console and navigate to your SAML organization. Navigate to the Settings tab and then select SAML SSO.
-
Open up the XML document you downloaded from the Azure AD portal, and paste its full contents into the Identity Provider Metadata field.
-
Click Save.
Signing into Pulumi using Azure AD
Once your Azure AD application is created, and its configuration data passed to Pulumi, you can now sign into the Pulumi Console using your SAML SSO credentials.
Navigate to https://app.pulumi.com/signin/sso/ and enter the name of your Pulumi organization. If everything is configured correctly, you should be prompted to sign into to your Azure AD instance, and then immediately redirected back to the Pulumi Console.
Troubleshooting
If you have any trouble configuring Azure AD, signing into Pulumi, or need additional assistance, please contact support.