Skip to content

Dependencies (PRO + ENTERPRISE)

PRO Feature

Dependency mapping and full-stack rotation require a PRO tier licence.

Dependencies maps which Azure resources consume Key Vault credentials, enabling blast radius analysis and coordinated full-stack rotation.


Overview

Dependencies solves a critical question: "If I rotate this secret, what breaks?"

  • Resource discovery: Find all Azure resources that use Key Vault credentials
  • Kubernetes workloads: Find the workloads, Ingresses and Gateways in your AKS clusters that load Key Vault items
  • Dependency mapping: Map credentials to their consumers
  • Blast radius analysis: Understand impact before rotation
  • Full-stack rotation: Rotate credential AND update all dependent resources
  • Best-effort rollback: Previous values are restored where available; SQL Server and Azure DevOps secrets cannot be restored automatically

Supported Resource Types

Dependencies discovers and maps across Azure compute, integration, messaging, data, and DevOps resource types for blast-radius visibility. Automated full-stack rotation is currently available for a subset (App Services, Function Apps, Container Apps, Logic Apps, SQL Servers, and Azure DevOps service connections and variable groups); the remaining types are discovered and mapped so you can see what will be affected, and rotation for those is coordinated manually using the dependency graph.

Compute

Resource Description
App Services Web apps with Key Vault references
Function Apps Serverless functions using KV
Container Apps Containerized workloads
AKS Clusters The workloads, Ingresses and Gateways that load Key Vault secrets, certificates and keys, and the workloads that sign in with a workload identity. See Kubernetes workloads

DevOps

Resource Description
ADO Service Connections Azure DevOps service connections referencing App Registration credentials
ADO Variable Groups Azure DevOps variable groups linked to Key Vault secrets

Integration

Resource Description
Logic Apps Workflow connections
API Management Named values and backends
Data Factory Linked services

Messaging

Resource Description
Service Bus Connection strings
Event Hubs Connection strings

Data

Resource Description
SQL Servers Admin credentials
Storage Accounts Connection strings

How Dependency Mapping Works

Discovery Phase

CertifyClouds reads the settings of supported Azure resources (app settings and connection strings), finds the Key Vault references in them, and links each one to the secret it points at.

In AKS clusters it reads the workloads themselves; see Kubernetes workloads.

Match confidence

Each discovered mapping is graded High / Medium / Low based on how strong the link between credential and resource is - exact Key Vault references are highest confidence, looser inferred matches are lower. Lower-confidence matches surface in the UI with a "Verify before acting" hint so customers can review before automating around them.


Viewing Dependencies

Dependency Graph

  1. Go to Assets tab
  2. Click on a vault
  3. Select a secret
  4. View Dependencies panel

The dependency graph shows:

  • Secret at the centre
  • Connected resources (App Services, Functions, etc.)
  • Confidence indicators
  • Resource health status

Blast Radius View

The blast radius opens as a side panel from either table, so you never leave the list you were working in:

  1. On Resources, expand a resource and click one of its credentials; or on Mappings, click a row
  2. View all resources that would be affected
  3. Review confidence levels, verify any unverified dependencies, and rotate from the same panel
  4. Close the panel to return to the table

The open credential is part of the page URL, so a blast radius can be bookmarked or linked to directly.

Below the graph, Dependencies lists the same dependencies as a table, one row per dependency: the resource, its cluster for an AKS workload, how it reads the value (Consumption), how it picks up a new one (Pick-up) and whether it is verified. Each row opens the resource in Resources, as its node in the graph does. The list works with a keyboard and a screen reader, and pages through a long list ten rows at a time.

TLS endpoints and Key Vault certificates

The TLS Endpoints list is on every tier. On PRO, CertifyClouds also links each endpoint that serves a Key Vault certificate to that certificate:

  • Assets → Scan → TLS Endpoints gains two columns: Key Vault certificate (the certificate the endpoint uses) and Picks up renewal?
  • On the Key Vaults sub-tab, a certificate that endpoints use shows Used by N endpoints. The link opens the certificate's Dependencies tab, which lists those endpoints and whether each picks up a renewal.
  • An expiry alert for a Key Vault certificate names the endpoints that use it.
Picks up renewal? Meaning What to do
Yes The endpoint follows the certificate's latest version, so it serves a renewed certificate on its own. Where Microsoft documents how long the service takes to switch, the time is shown Nothing
Pinned to one version The endpoint points at one exact version, so it won't pick up a renewal After renewing, update the resource to the new version, or point it at the certificate without a version number
Pinned to an old version The endpoint serves an old version, not the current one Update the resource to the current version, or point it at the certificate without a version number
No, uploaded directly The certificate was uploaded to the service, not taken from Key Vault Renew it with its CA and upload it again, or move it into Key Vault
Renews automatically Azure issues and renews the certificate Nothing
Not known The endpoint's certificate could not be read Run a scan to read it again

Compliance rule T004 fails while an endpoint serves an old version of its Key Vault certificate.


Kubernetes workloads

Each Run Resource Scan also reads the AKS clusters it finds, through each cluster's Kubernetes API, and maps the workloads that use Key Vault. CertifyClouds only reads: it never changes anything in a cluster, never restarts a workload and never runs a command in a pod. It reads only clusters that use Microsoft Entra sign-in, and each cluster needs read-only access set up first; see Kubernetes discovery.

What is read

  • Deployments, StatefulSets, DaemonSets, CronJobs, Jobs and Pods, and the Key Vault secrets, certificates and keys their pods load through the Azure Key Vault provider for the Secrets Store CSI driver (its SecretProviderClasses)
  • Ingresses and Gateways that serve a certificate from Key Vault; see Ingresses and Gateways
  • The workload identity each workload signs in with; see Workload identity

CertifyClouds never reads Kubernetes Secrets or ConfigMaps. Of a pod's environment variables it reads only which Secret each one comes from: a value typed into the pod spec is skipped, never stored or logged.

A workload is listed when it loads at least one Key Vault item this way, or signs in with a workload identity. Pods are listed under the workload that runs them.

Where workloads show

  • Assets → Dependencies → Resources: an AKS cluster row expands to its Workloads, each named by its namespace and name, with its type, Consumption, Pick-up and Signs in as. Expand a workload to see the Key Vault items it loads. Search or filter by type to list workloads as rows of their own, each named by its namespace and name with its cluster beneath. The same form is used wherever a workload is listed: a credential's Dependencies tab, the Mappings table, the blast radius list and an App Registration's Used by.
  • Blast radius: workloads are grouped under their cluster. Each workload counts as one affected resource. Workloads in the kube-system, gatekeeper-system, aks-command and app-routing-system namespaces never count as production.
  • Expiry alerts for a Key Vault item name the workloads that load it.

Workloads are not counted as Azure resources: they are left out of the Resources total, the resource mapping coverage rule (VM001) and the literal credential values rule (VM002). Their dependencies count in the dependency totals.

Compliance rules K8S001 to K8S003 check how workloads load Key Vault items; see Kubernetes rules.

Consumption

How a workload loads the item:

Consumption Meaning
Mounted volume Its pods mount the item as a file
Synced secret, volume The driver copies the item into a Kubernetes Secret, which the pods mount as a volume
Synced secret, environment variable The driver copies the item into a Kubernetes Secret, which the pods read as environment variables
Ingress TLS certificate An Ingress serves the certificate
Gateway TLS certificate A Gateway listener serves the certificate

Pick-up

Whether a new version reaches the workload on its own. When a workload loads one item in more than one way, the one that needs the most from you is shown.

Pick-up Meaning What to do after a rotation
Picks up automatically Secret rotation is on in the cluster's Key Vault provider add-on, so the new version reaches the mounted file or synced Secret on its own Nothing
Needs a restart The workload reads the item as an environment variable, or the cluster's secret rotation is off, or CertifyClouds cannot tell whether it is on (the driver was installed without the AKS add-on) Restart the workload
Pinned to one version The SecretProviderClass (objectVersion) or the certificate address names one exact version Point it at the new version, or remove the version so it follows the latest
Needs secret rotation turned on An Ingress or Gateway names its certificate with the app routing add-on, and the cluster's secret rotation is off or CertifyClouds cannot tell whether it is on Turn on secret rotation in the cluster's Key Vault provider add-on
Needs the syncing pods restarted An Ingress serves its certificate from a Kubernetes Secret that a SecretProviderClass syncs, and the cluster's secret rotation is off or CertifyClouds cannot tell whether it is on Restart the pods that mount that SecretProviderClass, so the Secret gets the new version
Key Vault item not in your scanned vaults (on an Ingress or Gateway, Certificate not in your scanned vaults) The item is in a Key Vault CertifyClouds does not scan, or that vault no longer holds it, so CertifyClouds cannot track or rotate it. Expand the row to see the item's address Add the Key Vault to a subscription CertifyClouds scans if you want it tracked

Ingresses and Gateways

An Ingress or Gateway is listed when it serves a Key Vault certificate in either of these ways:

  • it names the certificate with the app routing add-on's kubernetes.azure.com/tls-cert-keyvault-uri setting: an annotation on an Ingress, or an option in a Gateway listener's TLS settings
  • an Ingress's TLS Secret is one that a SecretProviderClass syncs from Key Vault

It then shows under its cluster's Workloads and in the certificate's blast radius. These hosts are not added to TLS Endpoints, which lists AKS ingress as not covered.

Workload identity

A workload can sign in to Microsoft Entra with a workload identity instead of a secret. CertifyClouds reads which identity from the azure.workload.identity/client-id annotation on the workload's service account and the azure.workload.identity/use: "true" label on its pods. The Signs in as column shows:

  • the App Registration it signs in as, with a link to it in the inventory
  • Other identity when the client ID is not one of your App Registrations, for example a managed identity
  • No workload identity when it does not sign in this way

When the pods ask for a workload identity but their service account names no client ID, CertifyClouds cannot say which identity they use. A workload's node in blast radius shows its identity on one line. Each App Registration's federated credentials list the workloads that run as the service account they trust; a workload whose pods do not ask for a workload identity is marked, since it cannot sign in with the credential as it is set up. See Federated sign-in.

Cluster status

The Kubernetes clusters panel above the Resources table shows what CertifyClouds could read in each cluster on the last resource scan:

Status Meaning What to do
Read in full Every workload and Key Vault mount was read Nothing
No access CertifyClouds can sign in to the cluster but is not allowed to read it, so nothing was read Run the access setup with --with-kubernetes. Admins see the command in the panel
Cannot connect CertifyClouds could not reach the cluster's API server at all, so nothing was read For a private cluster, connect its network to CertifyClouds and link its private DNS zone; for authorised IP ranges, add CertifyClouds' outbound address. See Network Requirements
Not read Azure (for the cluster or its sign-in details) or the cluster itself returned errors on the last scan, or the cluster answered at first and then stopped answering, so nothing was read. No access or network change fixes it Run the resource scan again
Partly read Part of the cluster was read. The rest was not: the read did not finish, CertifyClouds is not allowed to read it, or the cluster returned an error or did not answer Where the panel shows no access, run the access setup with --with-kubernetes; otherwise run the resource scan again
Not supported The cluster has no Microsoft Entra sign-in, only local accounts None: such clusters are not read
Not in your licence Kubernetes discovery needs a PRO licence -

Under each cluster the panel names what it reads (Deployments, StatefulSets and DaemonSets; Jobs and CronJobs; Pods; Key Vault mounts; Ingresses and Gateways) with one word each:

  • read
  • not read: the last read stopped before it finished this part
  • no access: CertifyClouds is not allowed to read it
  • read failed: the cluster returned an error for it or did not answer
  • not installed: the cluster does not have it

For not read and read failed, run the resource scan again.

A cluster with No access or Cannot connect also shows as an issue in Settings → Access, and so does a Partly read cluster where something shows no access. A Not read cluster does not, and neither does a Partly read cluster whose other parts show not read or read failed: no access or network change fixes those. The issue gives the cluster's status in the same words, and the command where one fixes it. For a cluster with an issue, once it is fixed an admin can click Check again in the panel to test that the cluster can be read; the next resource scan reads its workloads. With All tenants selected, the panel asks you to select the cluster's tenant first.

When a cluster is not read in full, the workloads already found stay in Dependencies and in blast radius. In Dependencies each one is marked As of the date it was last read. In blast radius the cluster says it was not read in full, or has never been read in full, so other workloads may use the credential too, with a link to its status; when it has been read in full before, it is marked As of the date of its last full read.


Verifying Dependencies

Before a dependency can be included in automated rotation it must be verified - a live check that the resource still references the credential.

  • Verify (per row) re-checks a single dependency
  • Verify all re-checks every unverified dependency at once
  • Verified dependencies show a Verified badge

Verification is persistent: it holds until the mapping materially changes or the dependency is re-verified. There is no rolling expiry, so verified dependencies stay eligible for unattended automation.

Verification Gate

Auto-Rotate and Custom Value rotation stay disabled while any dependency in the blast radius is unverified. Rotation enforces the same rule - only verified dependencies are updated during full-stack rotation.

A dependency read from a Kubernetes cluster is verified automatically, because it is read from the cluster rather than inferred, so it does not hold these actions back.

Broken Dependencies

If verification fails (the resource no longer references the credential), the dependency is marked broken. A broken dependency returns to active automatically when a later resource scan finds the reference again - re-verify it to make it rotation-eligible.


Full-Stack Rotation

Full-stack rotation updates a credential AND all its dependent resources in one operation.

Secrets only

Full-stack rotation supports Key Vault secrets only. Certificates rotate via Automation > Rotation; keys are not rotatable this way. Rotation actions aren't offered for certificates or keys, and the API rejects them.

How It Works

1. Generate new credential value
   ↓
2. Update Key Vault secret
   ↓
3. Update Resource 1 (App Service)
   ↓
4. Update Resource 2 (Function App)
   ↓
5. Update Resource N...
   ↓
6. Verify all resources healthy
   ↓
7. Complete (or rollback on failure)

Nothing in an AKS cluster is changed: workloads that need a new version or a restart are listed as follow-ups. See AKS workloads.

Running Full-Stack Rotation

  1. Navigate to the secret in Assets
  2. Click Auto-Rotate or Custom Value
  3. Review blast radius
  4. Review the Confirm Full-Stack Rotation dialog
  5. Click Confirm Rotation
  6. Monitor progress in real-time

Rollback

If any resource update fails:

  • Best-effort rollback restores previous values where available. SQL Server and Azure DevOps secrets need manual recovery
  • Failure logged with details for review

Resource Updates

App Services / Function Apps

Dependencies updates:

  • Application settings (@Microsoft.KeyVault references)
  • Connection strings
  • Slot settings (if applicable)

Container Apps

  • Environment variables with KV references
  • Secrets configuration

Logic Apps

  • Connection parameters
  • Workflow definitions (if applicable)

Azure DevOps

  • Service Connections referencing App Registration credentials (client ID / secret)
  • Variable Groups linked to Key Vault secrets via the ADO-Key Vault integration
  • Project Selection: Choose which ADO projects to include in dependency scanning (Settings > Integrations > ADO). If no projects are selected, all accessible projects are scanned.

SQL Servers

  • Admin password (with caution)

AKS workloads

Nothing. CertifyClouds never changes anything in a cluster. Instead, a rotation of a secret that workloads load lists what is left for you:

  • a workload that picks up the new version automatically needs nothing
  • one pinned to a version is listed as a follow-up to update objectVersion in its SecretProviderClass
  • one that needs a restart is listed as a follow-up to restart it

Before you confirm, the Confirm Full-Stack Rotation dialog says how many repoints and restarts will be left for you, and names each one with the step it needs:

  • one pinned to a version: its SecretProviderClass, or its certificate address, to point at the new version
  • an Ingress whose certificate a SecretProviderClass syncs: that SecretProviderClass, and the pods that mount it to restart
  • an Ingress or Gateway that names the certificate with the app routing add-on: turn on secret rotation in the cluster's Key Vault provider add-on if it is off

Afterwards the follow-ups are listed in the result, under Needs action after this rotation, and on Assets → Dependencies → Full-Stack Rotations, where a job's N need action opens the list. This includes rotations started by App Registration rotation. Follow-ups are not failures: the rotation is recorded as completed, and N of M updated counts only the settings CertifyClouds wrote.


Configuration

Dependency mapping is part of the PRO licence. There is no on/off switch and no schedule for it in Settings. You run it from Assets → Dependencies, and both actions need an admin account:

  • Resources tab, Run Resource Scan, inventories the Azure resources that could consume a credential.
  • Mappings tab, Run Mapping, matches those resources to Key Vault secrets and builds the dependency graph.

Non-admin users see both tabs read-only.

The only thing you configure in Settings is the optional Azure DevOps connection below.

Azure DevOps Integration

Connect your ADO organisation for automatic dependency discovery.

Prerequisite: Grant CertifyClouds' managed identity access to your ADO org

This is the step most setups miss. Azure DevOps does not accept arbitrary Entra principals by default. Even if the managed identity can authenticate to Microsoft Entra ID, the ADO org admin has to add it explicitly as a user before any API call works.

Option A: Automated (recommended)

If you ran setup-certifyclouds-access.sh during install, re-run it with --ado-org to add the MI as a Stakeholder. The operator needs to be a Project Collection Administrator on the target org.

./setup-certifyclouds-access.sh \
  --principal-id <MI-object-id> \
  --apply --with-rotation --with-resource-updates \
  --ado-org https://dev.azure.com/your-org

Option B: Manual (via ADO portal)

  1. Sign into https://dev.azure.com/your-org as a Project Collection Administrator
  2. Organization Settings → Users → Add User
  3. Origin: Azure AD, paste the CertifyClouds MI's Object ID
  4. Access level: Stakeholder (free, sufficient for read-only discovery)
  5. Save

After adding the user, grant project-level read access:

  1. Organization Settings → Permissions → Project Collection Readers → Members → Add
  2. Search for the MI, add it (or grant Reader on individual projects for narrower scoping)

Connect the integration in CertifyClouds

Once the MI is a member of the ADO org:

  1. Go to Settings > Integrations > Azure DevOps
  2. Enter your organisation URL (e.g., https://dev.azure.com/your-org)
  3. Click Test Connection to verify access and discover projects
  4. Click Save Configuration
  5. Select which projects to include in dependency scanning
  6. Click Save Selection

If no projects are selected, all accessible projects will be scanned during dependency discovery.

Troubleshooting

If Test Connection returns "Failed - Forbidden" or "Failed - Unauthorized", the most likely cause is that the MI hasn't been granted access to the ADO org. Run setup-certifyclouds-access.sh --ado-org ... or add the user manually in the ADO portal.

Write Permissions

Full-stack rotation writes the new credential into the resources that consume it, so it needs control-plane write access on those resource types. Use the four least-privilege built-in roles rather than Contributor.

The exact role names, what each one covers, and ready-to-run az role assignment create commands are in Azure Permissions.


API access

Dependencies endpoints are listed in API Endpoints; exact request and response shapes are in your deployment's /docs.


Troubleshooting

Dependencies not found

Cause: Resources not using Key Vault references.

Fix: - Migrate to @Microsoft.KeyVault(...) references - Check the names used in app settings and connection strings

Low confidence matches

Cause: Naming conventions don't match.

Fix: - Use consistent naming (e.g., api-key in both places)

Rotation failed - resource update error

Cause: Insufficient permissions on resource.

Fix: - Grant the resource-specific roles listed under Azure Permissions - Check resource-specific role requirements

Rollback triggered

Cause: One or more resources failed to update.

Check: - View rotation history for failure details - Check Azure Activity Log for errors - Verify resource permissions


Best Practices

  1. Use Key Vault References: Migrate to @Microsoft.KeyVault(...) for high-confidence mapping
  2. Consistent Naming: Use matching names for secrets and settings
  3. Test in Non-Prod: Validate full-stack rotation in staging first
  4. Review Blast Radius: Always check impact before rotating
  5. Monitor After Rotation: Watch application health post-rotation