zero-sdk

Crates.iozero-sdk
lib.rszero-sdk
version0.2.0
sourcesrc
created_at2022-07-14 18:42:44.32005
updated_at2023-07-25 07:20:14.931658
descriptionRust SDK for Zero secrets manager.
homepage
repository
max_upload_size
id625841
size13,490
Artem Rudenko (gvidon)

documentation

README

Zero Rust SDK

Rust SDK for Zero. Provides a clear and simple interface for accessing the secrets manager GraphQL API.

Installation

Add this to your Cargo.toml:

[dependencies]
zero-sdk = "0.2.0"

Usage

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();
Commit count: 0

cargo fmt