2 releases

0.0.1-alpha.2 Oct 16, 2020
0.0.1-alpha.1 Oct 15, 2020

#474 in HTTP client

MIT license

12KB
90 lines

boundary-api

Crates.io docs.rs license Github actions build status

Rust client for Hashicorp Boundary

Incomplete implementation - Not for ready for production!

Examples

These assume running Boundary server running in dev mode

# Start Boundary in dev mode in another terminal window
$ boundary dev

Auth to Boundary server in dev mode

$ cargo run --example auth-dev-mode
Response { url: "http://127.0.0.1:9200/v1/auth-methods/ampw_1234567890:authenticate", status: 200, headers: {"cache-control": "no-store", "content-type": "application/json", "date": "Thu, 15 Oct 2020 22:27:06 GMT", "content-length": "525"} }

Dependencies

~6–10MB
~219K SLoC