#api-client #client #api #api-bindings

bin+lib boundary-api

Rust 版HashiCorp Boundary客户端

2个版本

0.0.1-alpha.22020年10月16日
0.0.1-alpha.12020年10月15日

身份验证 中排名1054

MIT 许可证

12KB
90

boundary-api

Crates.io docs.rs license Github actions build status

Rust 版HashiCorp Boundary客户端

实现不完整 - 不可用于生产!

示例

这些假设在开发模式下运行Boundary服务器

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

在开发模式下向Boundary服务器进行身份验证

$ 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"} }

依赖项

~6–10MB
~208K SLoC