Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Workload identity lets a software process, service, or automation job prove what it is so another system can decide what it may access. For CI/CD pipelines and cloud workloads, it can replace some long-lived cloud keys with short-lived credentials issued after the target provider verifies the workload’s identity. It does not remove authorization policy or the need to restrict exactly which workloads are trusted.

How workload identity works

A workload needs to establish identity with a system it wants to use. That system validates the identity and applies authorization policy to decide whether to grant access, and to which resources and actions. These are separate decisions: proof of identity is not permission by itself.

A common cloud-federation flow has three stages:

  1. Prove: The workload obtains an identity assertion from an environment it already belongs to, such as a CI job or a Kubernetes cluster.
  2. Validate: The target cloud checks the assertion’s issuer, audience, and relevant claims or attributes against a configured trust relationship.
  3. Authorize: The cloud issues a short-lived token or temporary role credentials, with access determined by the permissions attached to the mapped identity.

This can remove the need for a workload to store a permanent cloud key, but only for systems that trust the workload’s issuer. Other services may still require credentials.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Provider-native federation for CI/CD and cloud workloads

Provider-native federation connects an identity source to a particular cloud’s identity and authorization system. It is often a practical choice when the workload needs access to that provider’s APIs and the team wants to use its native roles and policies.

#1 Best Overall
Yubico - Security Key C NFC - Basic Compatibility - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-C or NFC, FIDO Certified
  • POWERFUL SECURITY KEY: The Security Key C NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
  • WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key C NFC secures 100 of your favorite accounts, including email, password managers, and more.
  • FAST & CONVENIENT LOGIN: Plug in your Security Key C NFC via USB-C and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
  • TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
  • BUILT TO LAST: Made from tough, waterproof, and crush-resistant materials. Manufactured in Sweden and programmed in the USA with the highest security standards.

GitHub Actions with a cloud provider

GitHub Actions can request a job-scoped OpenID Connect (OIDC) token and exchange it with a configured cloud provider instead of storing long-lived cloud credentials as GitHub secrets. The job or workflow must have id-token: write permission to request the token. That permission allows token retrieval; it does not authorize changes to cloud resources.

The trust policy on the provider side is the key boundary. Restrict it to the intended organization and repository, and to the relevant branch, environment, or workflow where supported. GitHub recommends configuring at least one condition at the provider. AWS specifically warns that a broad or missing sub restriction can allow workflows outside the intended scope to assume a role. Give the resulting role only the permissions the deployment needs.

Rank #2
Yubico - YubiKey 5C NFC - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-C or NFC, FIDO Certified - Protect Your Online Accounts
  • POWERFUL SECURITY KEY: The YubiKey 5C NFC is the most versatile physical passkey, protecting your digital life from phishing attacks. It ensures only you can access your accounts
  • WORKS WITH 1000+ ACCOUNTS: Compatible with popular accounts like Google, Microsoft, and Apple. A single YubiKey 5C NFC secures 100+ of your favorite accounts, including email, password managers, and more
  • FAST & CONVENIENT LOGIN: Plug in your YubiKey 5C NFC via USB and tap it, or tap it against your phone (NFC), to authenticate. No batteries, no internet connection, and no extra fees required
  • MOST SECURE PASSKEY: Supports FIDO2/WebAuthn, FIDO U2F, Yubico OTP, OATH-TOTP/HOTP, Smart card (PIV), and OpenPGP. That means it’s versatile, working almost anywhere you need it
  • PRIMARY & SPARE KEYS: Just like having a spare house key, we recommend buying two YubiKeys - one for daily use and one as a spare. That way you’ll never get locked out of your accounts

Kubernetes workloads on Amazon EKS

AWS documents two routes for assigning IAM access to EKS workloads: IAM roles for service accounts (IRSA), which associates a role with a Kubernetes service account, and EKS Pod Identity. Choose based on the cluster and workload operations your team needs to support; neither should be treated as a reason to grant broad permissions to every workload. Scope the IAM permissions to the individual workload’s needs rather than relying on broad node credentials.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

External workloads accessing Google Cloud

Google Cloud Workload Identity Federation lets external workloads authenticate using supported identity sources, including OIDC, SAML, deployment services, AWS, and Azure. A workload identity pool and provider establish the trust relationship. Attribute mappings connect useful claims from the external assertion to attributes Google Cloud can use in policy.

Rank #3
Yubico - YubiKey 5 NFC - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-A or NFC, FIDO Certified - Protect Your Online Accounts
  • POWERFUL SECURITY KEY: The YubiKey 5 NFC is the most versatile physical passkey, protecting your digital life from phishing attacks. It ensures only you can access your accounts
  • WORKS WITH 1000+ ACCOUNTS: Compatible with popular accounts like Google, Microsoft, and Apple. A single YubiKey 5 NFC secures 100+ of your favorite accounts, including email, password managers, and more
  • FAST & CONVENIENT LOGIN: Plug in your YubiKey 5 NFC via USB and tap it, or tap it against your phone (NFC), to authenticate. No batteries, no internet connection, and no extra fees required
  • MOST SECURE PASSKEY: Supports FIDO2/WebAuthn, FIDO U2F, Yubico OTP, OATH-TOTP/HOTP, Smart card (PIV), and OpenPGP. That means it’s versatile, working almost anywhere you need it
  • PRIMARY & SPARE KEYS: Just like having a spare house key, we recommend buying two YubiKeys - one for daily use and one as a spare. That way you’ll never get locked out of your accounts

After mapping, access can be granted directly to the federated identity or through service-account impersonation. Keep IAM grants scoped to the intended identities or attribute sets and add conditions where appropriate. Google warns that granting access to every identity in a pool can create risk.

Portable service identity with SPIFFE and SPIRE

SPIFFE (Secure Production Identity Framework for Everyone) is an open standards framework for identifying software systems in dynamic, heterogeneous environments. SPIRE is a reference implementation of those standards; it is not itself the standard and is not a cloud-provider feature.

Rank #4
Yubico - Security Key NFC - Basic Compatibility - Multi-Factor Authentication (MFA) Key, Connect via USB-A or NFC, FIDO Certified
  • POWERFUL SECURITY KEY: The Security Key NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
  • WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key NFC secures 100 of your favorite accounts, including email, password managers, and more.
  • FAST & CONVENIENT LOGIN: Plug in your Security Key NFC via USB-A and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
  • TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
  • BUILT TO LAST: Made from tough, waterproof, and crush-resistant materials. Manufactured in Sweden and programmed in the USA with the highest security standards.
  • SPIFFE ID: Names a software entity.
  • SVID: A SPIFFE Verifiable Identity Document that carries verifiable identity. It can be an X.509 or JWT SVID.
  • Workload API: A standard way for a workload to retrieve identity-related information and services, including SVIDs and trust bundles.

SPIFFE federation allows one trust domain to validate identities from another by exchanging trust-bundle information. Each domain retains its own authority: federation makes explicitly accepted foreign identities verifiable; it does not create automatic global trust. This approach is useful where services span platforms or administrative domains and portable identity matters more than relying solely on one cloud’s native integration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Connecting SPIFFE/SPIRE to Microsoft Entra

Microsoft’s tutorial describes an integration in which an OIDC discovery provider publishes metadata and JSON Web Key Sets (JWKS), allowing Entra to validate JWT-SVIDs and exchange a trusted identity for an Entra token. The precise prerequisites, versions, and permissions depend on the current SPIRE and Entra setup; follow their live documentation before configuring the integration.

Best Value
Yubico - Security Key C NFC - Basic Compatibility - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-C or NFC, FIDO Certified (Pack of 2)
  • The information below is per-pack only
  • POWERFUL SECURITY KEY: The Security Key C NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
  • WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key C NFC secures 100 of your favorite accounts, including email, password managers, and more.
  • FAST & CONVENIENT LOGIN: Plug in your Security Key C NFC via USB-C and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
  • TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Which approach fits your boundary?

Approach Strong fit Main decision Policy focus
GitHub Actions OIDC with a cloud provider Deployment jobs that need cloud access for a run CI/CD integration and the provider’s trust-claim controls Limit which repository, branch, environment, or workflow may exchange tokens; configure at least one provider-side condition.
AWS IRSA or EKS Pod Identity Workloads on Amazon EKS that need AWS IAM access Which supported EKS identity mechanism best fits cluster and workload operations Use workload-specific IAM permissions and avoid broad node credentials.
Google Cloud Workload Identity Federation External, multicloud, or pipeline workloads needing Google Cloud access Provider configuration, attribute mapping, and direct access versus service-account impersonation Use narrow principal scopes, useful attribute mappings, and conditions.
SPIFFE/SPIRE with OIDC or SPIFFE federation Heterogeneous or multi-domain systems needing portable service identity Portability across platforms and trust domains versus provider-specific integration Define trusted domains and accepted issuers or bundles; federate only intended identities.

These choices are not mutually exclusive. A team might use cloud-native federation for cloud APIs and SPIFFE/SPIRE for service-to-service identity across clusters or environments. Combining them adds operational work, so do it when the architecture has a real need for both scopes of identity.

Policy checks to make before rollout

Review the complete path from assertion to permission, not just whether the exchange succeeds:

  • Issuer: Is the trusted identity provider exactly the intended one?
  • Audience: Is the assertion issued for the relying service that will validate it?
  • Subject and attributes: Do conditions constrain the repository, branch, environment, service account, workload, or other attributes to the intended scope?
  • Authorization: Does the mapped identity receive only the resources and actions the workload needs?
  • Domain boundaries: For SPIFFE federation, have you explicitly established which foreign trust domains and bundles are accepted?
  • Operations: Can the team maintain issuer configuration, attribute mappings, trust bundles, and permissions as workloads and pipelines change?

For a GitHub Actions deployment, for example, allowing any job from an organization is a broader trust decision than allowing only a specified repository and branch or environment. The provider must enforce that distinction; the workflow’s possession of an OIDC token alone should not decide access.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A practical selection rule

Start with the boundary the identity must cross. If a pipeline or workload primarily needs one cloud’s APIs, provider-native federation usually keeps the trust and authorization path close to that provider. If services need consistent identity across heterogeneous platforms or independently administered trust domains, SPIFFE/SPIRE provides portable identity concepts, with the additional responsibility of operating and governing that infrastructure. In either case, success depends on narrowly defined trust conditions and least-privilege authorization, not on the absence of a stored key alone.

Provider feature names and implementation details can change. AWS, GitHub, Google Cloud, and Microsoft documentation reviewed on October 7, 2026 describes the mechanisms above; check current provider guidance before applying configuration to a production environment.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.