Flow.Documentation

Identity between Flow and your cloud

4 steps± 3 minVideoVerified 28 Oct 2026
  1. Step 1 · Open Production's cloud identity
  2. Step 2 · Microsoft Entra ID: a federated credential
  3. Step 3 · AWS: a role that trusts only this subject
  4. Step 4 · Google Cloud: workload identity federation

A vault in your own cloud (Azure Key Vault, AWS Secrets Manager, Google Cloud Secret Manager) needs a key of its own to get in. Putting that key in Flow as a password only moves the problem. That is why every environment has an identity of its own, issued by the portal: you trust exactly that identity in your cloud and give it read access. Flow then gets a short-lived token each time, and no secret is stored anywhere. You see where the portal shows that identity and what you set up per cloud.

Watch the whole guide as a video4 steps in one film
Step 1 / 4

Open Production's cloud identity

Under Environments, click an environment and choose Secrets and keys; at the bottom, for owners only, is Cloud identity. Choose Show cloud identity. At the top are the issuer (the portal) and the subject, here org:de-wit-bikes/env:prod: the organisation and the environment. Every environment has a subject of its own, so Test can never reach Production's vault. None of this is secret.

  1. Click Production
Open Production's cloud identity · Click Production
  1. Click Secrets and keys Vault · no AI key yet · own key
Open Production's cloud identity · Click Secrets and keys Vault · no AI key yet · own key
  1. Click Show cloud identity
Open Production's cloud identity · Click Show cloud identity
Open Production's cloud identity · Issuer: the portal. Subject: org:de-wit-bikes/env:prod.
Step 2 / 4

Microsoft Entra ID: a federated credential

For Azure Key Vault, the app registration that reads your vault gets a federated credential with exactly this issuer, this subject and the audience api://AzureADTokenExchange. The command for the Azure CLI is there, with this environment's values already filled in. The app gets no client secret.

Microsoft Entra ID: a federated credential · The federated credential, with Production's subject.
Step 3 / 4

AWS: a role that trusts only this subject

For AWS Secrets Manager you add the portal as OpenID Connect provider and create a role. The trust policy lets in only a token with this subject and the audience sts.amazonaws.com; Flow assumes the role with AssumeRoleWithWebIdentity, without an access key.

  1. Click Amazon Web Services (AWS)
AWS: a role that trusts only this subject · Click Amazon Web Services (AWS)
AWS: a role that trusts only this subject · The trust policy, with the condition on the subject.
Step 4 / 4

Google Cloud: workload identity federation

For Google Cloud Secret Manager you create a workload identity pool with a provider for this environment. The condition lets in only this subject; then you give exactly that identity read access on the secrets. A service account key file is not needed.

  1. Click Google Cloud
Google Cloud: workload identity federation · Click Google Cloud
Google Cloud: workload identity federation · The provider, with the portal as issuer and the condition on the subject.

This guide was carried out step by step on 28 Oct 2026 by an automated test on Flow (version 96971699).