| Crates.io | sigstore-oidc |
| lib.rs | sigstore-oidc |
| version | 0.6.0 |
| created_at | 2025-11-27 10:54:54.835586+00 |
| updated_at | 2025-12-17 09:08:03.578631+00 |
| description | OpenID Connect identity provider for Sigstore |
| homepage | |
| repository | https://github.com/wolfv/sigstore-rust |
| max_upload_size | |
| id | 1953521 |
| size | 71,873 |
OpenID Connect identity provider for sigstore-rust.
This crate handles OIDC (OpenID Connect) authentication for Sigstore's keyless signing flow. It supports obtaining identity tokens from various OIDC providers, which are then used to request short-lived signing certificates from Fulcio.
Ambient credential detection works in:
ACTIONS_ID_TOKEN_REQUEST_TOKEN)SIGSTORE_ID_TOKEN)use sigstore_oidc::{get_identity_token, OAuthConfig};
// Try ambient credentials first, fall back to OAuth flow
let token = get_identity_token().await?;
// Or use explicit OAuth flow
let config = OAuthConfig::sigstore();
let token = config.get_token().await?;
Used by:
sigstore-sign - Obtains identity tokens for keyless signingsigstore-fulcio - Uses tokens to request certificatesBSD-3-Clause