Rust SPIRE API Library

This library provides support for SPIRE specific APIs in Rust.

Features

Installation

Include this line in your Cargo.toml:

toml [dependencies] spire-api = "0.1.0"

Usage

Fetch a delegated X.509 and JWT SVIDs providing a set of selectors:

```rust use spireapi::agent::delegatedidentity::DelegatedIdentityClient;

let client = DelegatedIdentityClient::default().await?;

let x509svid = client.fetchx509_svid(vec![selectors::Selector::Unix(selectors::Unix::Uid(1000))]).await?; ```

For more documentation, refer to the spire-api crate documentation.

Delegated Identity API

For more information about the SPIRE Delegated Identity API, refer to the official documentation.

License

This library is licensed under the Apache License. See the LICENSE.md file for details.