forked from scitt-community/scitt-api-emulator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document OIDC authentication middleware usage with GitHub Actions
Signed-off-by: John Andersen <[email protected]>
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# OIDC Support | ||
|
||
- References | ||
- [5.1.1.1.1.](https://github.com/ietf-wg-scitt/draft-ietf-scitt-architecture/blob/main/draft-ietf-scitt-architecture.md#comment-on-oidc) | ||
|
||
[![asciicast-of-oidc-auth-issued-by-github-actions](https://asciinema.org/a/607600.svg)](https://asciinema.org/a/607600) | ||
|
||
## Dependencies | ||
|
||
Install the SCITT API Emulator with the `oidc` extra. | ||
|
||
```console | ||
$ pip install -e .[oidc] | ||
``` | ||
|
||
## Usage example with GitHub Actions | ||
|
||
See [`notarize.yml`](../.github/workflows/notarize.yml) | ||
|
||
References: | ||
|
||
- https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/using-openid-connect-with-reusable-workflows | ||
- https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect |