
A US online retailer runs Maia runners on Azure Kubernetes Service (AKS) and Azure Container Apps, with its Key Vaults spread across more than one Azure subscription. In the Designer, the vault picker listed vaults from only one of them, and at one point came up empty on their production cluster, so pipelines couldn't use secrets kept in the other subscriptions. The runner was asking Azure for vaults in a single subscription, whichever one Azure returned first. We changed it to search every subscription its identity can see, and the customer confirmed the fix in their own environment 15 days after we took it on.
Why only one subscription showed up
To fill the Vault name drop-down, the runner asks Azure Resource Manager for the vaults in a subscription. With no subscription set, it used the first one Azure returned for its identity, and logged which one:
Using subscription <subscription-id> to retrieve vaultsIn practice that choice held steady for a given identity and set of permissions, so the runner kept landing on a subscription that didn't hold the vaults it needed. Granting the identity extra access changed which subscription came first, which is why the problem seemed to move. Runner logs from the customer's production cluster confirmed the mechanism.
On AKS there was also no working way to pin the subscription: the runner Helm chart set an environment variable the runner never reads, and only for workload identity.
What we changed
- Every subscription is searched. The runner asks Resource Manager for the vaults in each subscription its identity can see and merges them into one Vault name list.
- One bad subscription can't empty the list. The runner skips any subscription that refuses the request, can't be found, belongs to another tenant, or times out.
- Denials say what's missing. When Key Vault refuses the runner, the error names the missing data-plane role instead of reporting an internal error.
- Errors show up in the Designer. When the runner can't list a vault's secrets, the Designer shows its message instead of quietly switching the selection back to [Default].
- Pinning is optional, and now works on AKS. The runner Helm chart passes a pinned subscription through for every Azure identity mode. Pin only to restrict the list to one subscription.
Running pipelines aren't affected. Reading a secret goes straight to the vault by its name, which is globally unique, and never calls Resource Manager, so searching more subscriptions costs nothing at run time.
How to check your runner
- Check the runner version: 12.138.0 or later on the Current track, or 12.138.0-patch.2 or later on the Stable track. Runners with auto update on already have it.
- If you pinned a subscription as a workaround (
AZURE_DEFAULT_SUBSCRIPTION_ID, orazure.subscriptionIdin the runner Helm chart), unset it unless you want the list restricted to that subscription. A pinned runner lists only that subscription. - Grant the runner's identity Reader on each subscription you want listed.
- For each vault a pipeline uses, grant the runner's identity Key Vault Secrets User to read secrets, or Key Vault Secrets Officer to write them. If the vault uses access policies, grant the equivalent secret permissions instead.
- In the Designer, open Vault name. Vaults from every subscription should appear. Then pick a secret from the vault you'll use: if the runner can't read it, the Designer shows which role is missing.
The Azure Key Vault guide covers the Key Vault roles.
What it took
The customer reported it on 8 September, and we took it on as an engineering fix on 14 September, the day the Helm chart change merged. Runner logs from their production cluster confirmed the root cause on 16 September. The runner and Designer changes merged on 24 and 25 September, and on 29 September the customer confirmed it worked in their own environment and continued their move to production. In our tests, 3 subscriptions returned 82 vaults in about 2 seconds.
What to watch for
- Listed isn't readable. Seeing a vault and reading its secrets are separate permissions in Azure. On the same test tenant, the runner could read about 2 of the 82 vaults it listed. Choose a vault the runner has a data-plane role on.
- Time grows with subscriptions. The runner queries subscriptions one after another, so listing takes longer with each one: about 2 seconds for 3 in our tests. That's fine for a handful and slow for dozens. On a large tenant, pin the subscription that holds your vaults.
- Key Vault only. The change covers the Vault name list. Storage account pickers still use one subscription.
Where else this applies
Splitting an Azure estate into subscriptions by environment or business unit is a common landing-zone design, and it puts Key Vaults in several subscriptions. If a Maia runner on AKS or Container Apps lists fewer vaults than you expect, check its version, then whether a subscription is pinned, then whether its identity has Reader on each subscription.
Frequently Asked Questions
Older runners listed vaults from a single subscription, the first one Azure returned. From 12.138.0, runners list vaults in every subscription their identity can see, unless a subscription is pinned.
No. Reading a secret goes straight to the vault and never calls Azure Resource Manager.
Listing and reading are separate permissions. Grant the runner's identity Key Vault Secrets User on that vault, or the equivalent access policy.
Yes. The change is in the runner, so it applies to runners on both.
Our latest resources
Data management



