This repository contains a Rust client for consuming the API provided by the Parsec service. The low-level functionality that this library uses for IPC is implemented in the interface crate.
When using the JWT-SVID authentication method, the client will expect the SPIFFE_ENDPOINT_SOCKET
environment variable to contain the path of the Workload API endpoint.
You will need to compile the crate with the spiffe-auth
feature activated.
See the SPIFFE Workload Endpoint for more information.
The Rust client follows the service discovery policy
to find the Parsec endpoint. For example if the socket is at /tmp/parsec.sock
:
export PARSEC_SERVICE_ENDPOINT="unix:/tmp/parsec.sock"
The software is provided under Apache-2.0. Contributions to this project are accepted under the same license.
Please check the Contribution Guidelines to know more about the contribution process.
Copyright 2020 Contributors to the Parsec project.