Skip to content

Commit

Permalink
updating oidc information (#366)
Browse files Browse the repository at this point in the history
* updating oidc information

Signed-off-by: hayleycd <[email protected]>

* Fixing unordered list style

Signed-off-by: hayleycd <[email protected]>

* Update content/en/certificate_authority/oidc-in-fulcio.md

Co-authored-by: Hayden B <[email protected]>
Signed-off-by: ltagliaferri <[email protected]>

---------

Signed-off-by: hayleycd <[email protected]>
Signed-off-by: ltagliaferri <[email protected]>
Co-authored-by: ltagliaferri <[email protected]>
Co-authored-by: Hayden B <[email protected]>
  • Loading branch information
3 people authored Feb 10, 2025
1 parent ac4a4e1 commit 612f08f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion content/en/certificate_authority/oidc-in-fulcio.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,25 @@ Email-based OIDC providers use the user's email as the subject of the certificat

### Source repository

#### GitHub

GitHub supports OIDC tokens for its workflows initiated from GitHub Actions. This removes the need for persisting authentication credentials. OIDC tokens include information about the workflow and source repository.

* GitHub Actions (`token.actions.githubusercontent.com`)
You must include the proper permissions in your workflow to use an OIDC token.

```yaml
permissions:
id-token: write
```
When verifying a signature generated through a workflow on GitHub, you can expect the following values:
* **certificate-oidc-issuer**: https://token.actions.githubusercontent.com
* **certificate-identity**: https://github.com/USERNAME/REPOSITORY_NAME/.github/workflows/WORKFLOW_NAME@refs/heads/BRANCH_NAME
Sigstore currently offers two different GitHub Actions ([`cosign-installer`](https://github.com/marketplace/actions/cosign-installer) and [`gh-action-sigstore-installer`](https://github.com/sigstore/gh-action-sigstore-python)) to help you easily integrate Sigstore into your workflows. You can learn more about them in our [CI Quickstart]({{< relref "quickstart/quickstart-ci">}})

#### GitLab

GitLab supports OIDC tokens for its workflows initiated from GitLab CI/CD pipelines. This removes the need for persisting authentication credentials. OIDC tokens include information about the workflow and source repository.

Expand Down

0 comments on commit 612f08f

Please sign in to comment.