Build Flows
November 14, 2026

Secure API Credential Setup with Azure Key Vault

Create read-only API access for Procore, HubSpot and QuickBooks Online, store every key in your own Azure Key Vault, and let Microsoft Fabric pipelines read them at run time without anyone emailing a secret.

IntegrationsAuthentication & accessDatabases & dataMicrosoft FabricAzure Key VaultProcoreHubSpotQuickBooks Online

Built for: IT admins, controllers and operations leaders at contractors who are about to connect Procore, HubSpot and QuickBooks Online to a Microsoft Fabric reporting build and need to hand over API access without sharing the keys.

Video unavailable? Watch on YouTube or read the written breakdown.

Secure API Credential Setup with Azure Key VaultOpen on YouTube →

Key takeaways

  1. 01The setup has four steps: give the integrator access to a Fabric workspace, create read-only API access in Procore, HubSpot and QuickBooks Online, lock the keys in an Azure Key Vault in your tenant, then let the integrator connect and go live.
  2. 02Procore uses a custom app with a service account component (a Developer Managed Service Account). You set each tool to None or Read-only, promote the version to production, and install it from App Management with the version key.
  3. 03HubSpot now uses service keys in place of legacy private apps. Give the key only the read scopes the reports need, such as crm.objects.deals.read.
  4. 04QuickBooks Online uses an Intuit developer app with the Accounting scope. Development keys come first; production keys, the realm (company) ID and a refresh token from a one-time Connect follow.
  5. 05Create the vault with the Azure RBAC permission model and grant Key Vault Secrets Officer on that vault only. Creating the vault does not by itself let you add secrets.
  6. 06Store each value as a secret with an exact lowercase-dash name, then send back only the Vault URI, Directory (tenant) ID, subscription and resource group names. Never send the values.
  7. 07The Fabric pipeline signs in as the approved account and reads each secret by name at run time. Removing one role assignment cuts off access.

Technical overview

Why it matters

Before anyone can build reporting on Procore, HubSpot and QuickBooks Online, someone has to create API access in each system and get it to the people building the pipeline. That handoff is where things usually go wrong: client secrets pasted into email, tokens saved in a shared folder, and admin-level access granted because it was the fastest option. This walkthrough shows the setup Build Flows asks a contractor to complete instead. Every key is read-only, every key stays in an Azure Key Vault in your own tenant, and the only things you send back are addresses and IDs, never the values.

How it works

  • Step 1: Fabric access. Create a Microsoft Fabric workspace on a capacity (F2 is the entry size) and invite the integrator through Manage access. A guest account or an account on your own domain both work.
  • Step 2: Read-only API access in three systems.
    • Procore: create a custom app in the Developer Portal, add the Service Account Authentication component (a Developer Managed Service Account), set each company and project tool to None or Read-only, promote the version to production, and install it from Company Admin, App Management, with the version key. You also need the company ID from your Procore URL.
    • HubSpot: create a service key under Settings, Integrations. Service keys replace legacy private apps. Add only the read scopes the reports use, such as crm.objects.deals.read.
    • QuickBooks Online: create an app at developer.intuit.com with the Accounting scope only, then move from development keys to production keys. The realm (company) ID and a refresh token come from a one-time Connect by a QuickBooks admin.
  • Step 3: Lock the keys in Azure Key Vault. Create a vault (Standard tier, Azure role-based access control, in a resource group such as rg-reporting-analytics), then grant Key Vault Secrets Officer on that vault to yourself and the integrator account. Add each value under Objects, Secrets, Generate/Import with an exact lowercase-dash name like procore-client-id.
  • Step 4: Send back identifiers, not secrets. Reply with the Vault URI (https://<vault-name>.vault.azure.net/), the Directory (tenant) ID, the subscription and resource group names, and which secrets are done. The Fabric pipeline signs in as the approved account and reads each secret by name at run time.

What you'll learn

  • How to scope each system to read-only access so nothing is ever written back
  • Where Procore hides the production credentials, the version key and the company ID
  • Why HubSpot service keys are now the right choice over legacy private apps
  • Why creating a Key Vault does not by itself let you add secrets, and which role fixes it
  • Why the integrator needs Secrets Officer rather than read-only access to the vault (to add the QuickBooks refresh token and update reissued keys)
  • How to cut off access later by removing one role assignment

The walkthrough runs on sandbox and development accounts. Client IDs, secrets, tenant IDs and email addresses that appeared on screen are not reproduced here.

Go deeper

Getting ready to connect your systems? Tell us what to build, or email charley@buildflows.ai. We can also do steps 2 and 3 with you on a short screen-share call.

Added to the Build Flows walkthrough library on November 14, 2026.

Imagine what we could build for you

This build is one example of what’s possible. Tell us what you want to achieve, and we’ll design a solution around your people, your systems, and your goals.

Video description

Source listing for the published walkthrough—useful for search and context.

A full screen-share walkthrough of the four-step credential setup Build Flows uses before connecting Procore, HubSpot and QuickBooks Online to Microsoft Fabric: Fabric workspace access, read-only API access in each system, an Azure Key Vault with RBAC, and the details to send back so the pipeline can go live.

Chapters

  1. 00:00Why the keys stay in your tenant
  2. 01:05Step 1: Fabric F2 capacity and workspace access
  3. 02:43Step 2: read-only API access, the overview
  4. 03:57Procore: create a custom app
  5. 04:39Procore: service account and user-level components
  6. 05:15Procore: read-only tool permissions and setup notes
  7. 07:08Procore: save the version and find the credentials
  8. 09:29Procore: install the custom app and find the company ID
  9. 11:33HubSpot: create a service key with read scopes
  10. 14:18QuickBooks Online: Intuit developer app and keys
  11. 16:05Step 3: why the keys go into Key Vault
  12. 16:48Create the Azure Key Vault
  13. 20:28Grant access: Key Vault Secrets Officer
  14. 25:36Add the secrets with exact names
  15. 27:27Send back the Vault URI and tenant ID
  16. 28:57How Fabric reads the secrets, and wrap-up
Transcript(available)
[00:00] I hope you're doing well. Today I'm going to walk through the process we've developed for an integration: a streamlined way to create the API credentials and authentication for each system, and store them in Azure Key Vault so they can be referenced from Microsoft Fabric. Your team creates the credentials and stores them inside your own environment, so they stay private to you. You don't need to share them anywhere. You then share access to Fabric with a third party, or with me, and I can reference those API credentials through Key Vault to build the notebooks, lakehouses and Power BI reports and dashboards you need. So let's go through the process.

[01:05] First, you provision Microsoft Fabric. Fabric has a compute capacity called F2, which is the entry-level capacity for a Fabric solution, and it runs about $263 a month right now. There are some limitations. If you're pulling in a lot of data constantly, or you have a lot of viewers, or a lot of filtering as the data renders in the dashboards and reports, F2 can throttle and restrict viewing. If that's a concern, or the larger tiers are outside your price range, there are self-hosted solutions that can do this as well. We can cover those in another video. Once you have a Fabric account, you can invite any third party or user to a workspace. Open the workspace once it's created, select Manage access, add people or groups by entering their email, and choose what level of access they get. For me, you'd give enough access to create all the items needed for the data transformation and storage.

[02:43] So once you've signed up for Microsoft Fabric, provisioned the F2 capacity and invited people to a workspace, the next step is to provision read-only API access for each of these systems. Each system has its own way of doing it, and the data we pull depends on your use cases, but here's the general synopsis. In Procore, you create a developer account in the developer portal. You sign up with your email, password and name, and it's a free account. Then you create an app. You give it a name and choose a custom app rather than a marketplace app, since this is an internal solution. The app gets a sandbox environment, and it's version controlled, so if we add data later we can create new versions.

[03:57] Once you're signed in, go to My Apps and create a new app. For this example I'll give it a test name and create it. Once it's created, we need to create our first version. The version can include a setup guide and post-installation notes for whoever installs it. I'll just put "Have fun."

[04:39] Next are the components. We want Service Account Authentication. This is for a back-end application that runs on a dedicated service account, so it isn't tied to any user. Since it's pulling all the data, we want to decide exactly what data it can reach, rather than inheriting a person's access. We'll also add User Level Authentication. So now we have a user-level component and a service account component.

[05:15] We still need to configure the service account. What we're doing here is defining the permissions that the client ID and secret will have. They aren't tied to a specific user who has to sign in. We're giving these credentials to the integration we're building in Fabric, and they get stored in Key Vault. You go through each tool you want to pull from, at both the company level and the project level, and set the permission. In this setup we only use read-only. There may be times you want read and write access for other integrations, but not here. The version also needs a setup guide link, so I'll add the Build Flows site with the label "Build Flows example." For this demo I'll grant a few company-level tools, such as Admin, App Management and Assets, and a few project-level tools as well.

[07:08] Now we save the version. Once it's saved, we need the client ID and client secret. On the Credentials tab, production OAuth credentials aren't available yet. Procore generates them when you promote a version that includes a data connector component to production. What we do have are the client ID and client secret for the Developer Sandbox, plus the sandbox URL and a redirect URI if you need one. Once the developer account is verified and the version is promoted, you get production credentials that pull from your real Procore company. Next, we install the app.

[09:29] In Procore, go to the Company Admin tool, then App Management, and install a custom app. It asks for the app version key. Back in the developer portal, under the app's versions, that's the installation key shown on the version. Paste it in and install. The install screen lists every access level we configured, and the setup guide link and "Have fun" note we entered show up too. So now the Procore app is installed. Once you've authenticated, you have your client ID and client secret. You also need your company ID, which is the number in the Procore URL when you're in your company. At this point we have the Procore credentials. Keep them secure and don't save them anywhere else yet.

[11:33] Next is HubSpot. Once you're signed in to HubSpot, open Settings and look for Integrations. Legacy apps and private apps are being phased out, so we create a service key instead. Click Create service key and give it a name. I'll name it "buildflows." Then add the scopes it needs. You search for each scope and select it. For this example I'll add one read scope from the setup guide, crm.objects.deals.read. Then create it. Now we have the service key, which can be used to make API calls. You copy it and put it straight into Key Vault as well.

[14:18] The last one is QuickBooks Online. On the Intuit Developer site, the getting-started steps cover the Accounting API and how the platform works. You need a developer account. I'm already signed in. From there, go to My Hub, then the App dashboard, and select the card with the plus to create a new app. I'll call it "Buildflows Test." Give it access to the Accounting scope only. You can add Payments if you need it, but we don't. Confirm, and the app is ready for testing. These are the client ID and client secret for development. You copy them and use them, then move to production keys and production data once development is done.

[16:05] So now we have the Procore credentials, the HubSpot service key and the QuickBooks credentials. Now we need to store them safely so they can be used. We don't want to send them to anyone, email them, or have them recorded or logged anywhere else. The right place is a key vault, through Microsoft Azure.

[16:48] Sign in at portal.azure.com, select Create a resource, and search for Key Vault. Choose the Microsoft Key Vault service and create it under your Azure subscription. If you don't have a subscription yet, you'll need to create one and add payment details first. Next is the resource group. You can create a new one, for example rg-reporting-analytics. I'll create a test one here. Then the key vault name, for example kv-reporting-analytics. The name has to be unique and there's a length limit, so I shortened mine with "te" for test. For region I'll use East US 2, since I'm in New York. Pricing tier stays Standard. Soft-delete retention stays at 90 days, and purge protection stays disabled. On access configuration we keep Azure role-based access control, and on networking we allow public access. Then Review + create, and Create. The deployment takes a moment.

[20:28] Now the vault exists, and we need to grant access. This is for anyone who needs to work with the secrets: the account that signs in to Fabric and uses the keys to build the reports and automations. The keys stay protected inside Microsoft and Key Vault, and Fabric references them from the vault. When the deployment completes, go to the resource, open Access control (IAM), and choose Add role assignment. Choose the role Key Vault Secrets Officer. Under Members, keep "User, group, or service principal" and select yourself and the Build Flows account from step one. Then Review + assign. Back on the role assignments list, you can see the Key Vault Secrets Officer assignments.

[25:07] One thing that's easy to miss: creating the vault does not let you add secrets. If you see "not authorized," finish the role assignment first and wait a minute. Build Flows needs Secrets Officer, not just read access, so we can add the QuickBooks refresh token during our setup call and update a key if one is ever reissued.

[25:36] Now we add the secrets. Go to Objects, then Secrets, then Generate/Import. For each one, enter the secret name, for example procore-client-id, and for the secret value paste the actual client ID from Procore. You can set activation and expiration dates, but leave them empty here, and create it. Do that for every credential going into Key Vault. Use lowercase names with dashes, exactly as listed in the guide, with no spaces or quotes around the values, and leave content type and dates empty. That's how all the secrets get stored in Key Vault, and how Fabric, once it has access to this vault, pulls them into the integration.

[27:27] From there, you reply with a few details. First, the Vault URI. On the vault's Overview page you'll see it. It's the vault name followed by .vault.azure.net. Second, the Directory (tenant) ID from Microsoft Entra ID. On the Overview page it's shown as Directory ID. Then the subscription and the resource group names. You can even send a screenshot of this page. Then confirm which secrets were added.

[28:57] What you are not sending are the credentials themselves, the sensitive values we extracted from each system. You're only sending identifiers for what you provisioned. The secrets are referenced by name when we use them in Fabric. The Fabric pipeline signs in as the Build Flows account, and that account has the Key Vault Secrets Officer role assignment on the vault. So when that user is signed in to Fabric with your tenant, each secret is linked by its name. With the resource group, subscription, Directory ID and Vault URI, we can reference everything from Fabric. That's all the detail needed to pull the data into Fabric and keep your credentials securely saved in Key Vault.

[30:13] If you have questions or need anything along the way, feel free to reach out. I'm happy to help. Thanks for watching, and have a great day.

More like this

Nearby builds by capability and stack—useful context before you scope yours.

Your idea. Your solution. Let’s build it.

A similar flow, a different application, or something entirely new—we can help take it from the first idea through design, development, and deployment. Start by telling us what you need.