Skip to main content

Crate sigstore_fulcio

Crate sigstore_fulcio 

Source
Expand description

Fulcio certificate authority client for Sigstore

This crate provides a client for interacting with Fulcio, the Sigstore certificate authority service.

§Features

  • cache - Enable caching support for configuration and trust bundle responses. When enabled, use [FulcioClientBuilder::with_cache] to configure a cache adapter.

§Example

use sigstore_fulcio::FulcioClient;

let client = FulcioClient::public();
let config = client.get_configuration().await?;
println!("Supported issuers: {:?}", config.issuers);

With caching enabled:

use sigstore_fulcio::FulcioClient;
use sigstore_cache::FileSystemCache;

let cache = FileSystemCache::default_location()?;
let client = FulcioClient::builder("https://fulcio.sigstore.dev")
    .with_cache(cache)
    .build();

Re-exports§

pub use client::Configuration;
pub use client::FulcioClient;
pub use client::FulcioClientBuilder;
pub use client::SigningCertificate;
pub use client::TrustBundle;
pub use error::Error;
pub use error::Result;

Modules§

client
Fulcio client for certificate operations
error
Error types for sigstore-fulcio