> ## Documentation Index
> Fetch the complete documentation index at: https://docs.safedep.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Workload Identity

> A workload identity lets a CI job get a short-lived SafeDep Cloud credential from the OIDC token of its CI platform, with no API key in the CI secrets.

A workload identity is the identity of a CI job that SafeDep Cloud verifies from an OIDC token that the CI platform signs. The job is not a user of your tenant, and it holds no API key.

The job exchanges the token for a **workload credential**: a short-lived credential for one tenant. PMG and vet then call SafeDep Cloud with that credential. The tools call this OIDC mode. When you delete the API key, the CI platform holds no long-lived SafeDep secret.

Three records in your tenant control the exchange:

* **Workload identity provider.** A provider accepts the OIDC tokens of one CI account, such as one GitHub organization.
* **Workload trust rule.** A rule names the jobs of a provider that get a credential, and what the credential can do. An Admin creates each rule.
* **Workload exchange.** SafeDep Cloud records each exchange, issued or denied.

## What SafeDep supports

The model does not depend on one CI platform. Each provider has a kind, and the kind fixes the token issuer, the audience and the claims that a rule can match. GitHub Actions is the only kind today:

* **CI platform:** GitHub Actions, through the [SafeDep GitHub App](https://docs.safedep.io/governance/integrations/github.md).
* **Tools:** the PMG action and the vet v2 action.

## Related

> [card] [Connect GitHub Actions Without an API Key](https://docs.safedep.io/governance/cloud/github-actions-without-api-key.md)
>
> Link the GitHub App, create a rule and change the workflow.

> [card] [Workload identity details](https://docs.safedep.io/governance/cloud/authentication.md#workload-identity)
>
> See how a job gets a credential, what it can do and its security limits.

> [card] [Tenant](https://docs.safedep.io/concepts/tenant.md)
>
> See the boundary that a workload credential belongs to.

> [card] [Endpoint](https://docs.safedep.io/concepts/endpoint.md)
>
> See how a CI job appears in Endpoint Hub.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.