6 releases (3 stable)
2.0.1 | May 29, 2022 |
---|---|
1.0.0 | May 29, 2022 |
0.1.2 | May 19, 2022 |
0.1.1 | May 19, 2022 |
0.1.0 | May 18, 2022 |
#634 in Authentication
22 downloads per month
55KB
1K
SLoC
connect-sdk-rust
The 1Password Connect Rust SDK provides your Rust applications access to the 1Password Connect API hosted on your infrastructure and leverage the power of 1Password Secrets Automation
The library can be used by Rust applications, tools, and other automations to access and manage items in 1Password Vaults.
Installation
Usage
- Start by copying
.env-sample
to.env
, making sure to update its values. - Follow the instructions to start Connect and make sure the Docker container starts at
http://localhost:8080
- Make sure to update
OP_API_TOKEN
in the.env
file.
API usage
Refer to the docs for further examples.
Upcoming enhancements
- The current goal is to cover all existing API end-points (in progress).
- TBD: If you have any requests, please open an issue!
Development
Running Tests
From repository root:
cargo test
Building
cargo build --release
This is not an official SDK
This Rust crate has been created solely by me and so far is not "officially" supported by the awesome folk at 1Password. This may change, maybe and if they would like to help out and/or adopt this into the 1Password ecosystem, that would be nice as well.
About 1Password
1Password is the world’s most-loved password manager. By combining industry-leading security and award-winning design, the company provides private, secure, and user-friendly password management to businesses and consumers globally. More than 60,000 business customers trust 1Password as their enterprise password manager.
Security
1Password requests you practice responsible disclosure if you discover a vulnerability. Please submit discoveries via BugCrowd.
For information about security practices, please visit our Security homepage.
MSRV
This project is tested against the most recent stable rust version.
Dependencies
~19–32MB
~573K SLoC