This library provides support for SPIRE specific APIs in Rust.
Include this line in your Cargo.toml
:
toml
[dependencies]
spire-api = "0.1.0"
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.
For more information about the SPIRE Delegated Identity API, refer to the official documentation.
This library is licensed under the Apache License. See the LICENSE.md file for details.