As of November 2026. All identifiers in this post are examples.
We built a proof of concept with two AI agents. Agent A runs on Azure, in Microsoft Foundry. Agent B runs on Google Cloud, in Agent Runtime. They talk to each other over the A2A protocol, in both directions.
Neither agent stores a password, a service account JSON key or a client secret. This post shows how that works, with the actual requests.
The problem with the usual approach
The quick way to connect agents across clouds looks like this:
The Google Cloud agent gets an Azure client secret, so it can ask Entra for a token.
The Azure agent gets a Google service account key, so it can call Google APIs.
Now each cloud holds a long-lived credential for the other one. Someone has to rotate them. Each one can leak through a log, a repository or a container image.…