Crates.io | zero-sdk |
lib.rs | zero-sdk |
version | 0.2.0 |
source | src |
created_at | 2022-07-14 18:42:44.32005 |
updated_at | 2023-07-25 07:20:14.931658 |
description | Rust SDK for Zero secrets manager. |
homepage | |
repository | |
max_upload_size | |
id | 625841 |
size | 13,490 |
Rust SDK for Zero. Provides a clear and simple interface for accessing the secrets manager GraphQL API.
Add this to your Cargo.toml
:
[dependencies]
zero-sdk = "0.2.0"
use zero_sdk::{Arguments, Zero};
let secrets = Zero::new(Arguments {
pick: Some(vec![String::from("my-secret")]),
token: String::from("my-zero-token-from-env"),
caller_name: Some(String::from("cicd")),
})
.unwrap()
.fetch();