Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/HewlettPackard/py-spiffe
Python library for SPIFFE support
https://github.com/HewlettPackard/py-spiffe
Last synced: about 1 month ago
JSON representation
Python library for SPIFFE support
- Host: GitHub
- URL: https://github.com/HewlettPackard/py-spiffe
- Owner: HewlettPackard
- Created: 2020-12-10T20:40:44.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T15:21:19.000Z (about 2 months ago)
- Last Synced: 2024-11-11T03:42:52.833Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 1.03 MB
- Stars: 13
- Watchers: 9
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- awesome-spiffe-spire - python spiffe
README
# py-spiffe
[![CI](https://github.com/HewlettPackard/py-spiffe/actions/workflows/build.yaml/badge.svg?branch=main)](https://github.com/HewlettPackard/py-spiffe/actions/workflows/build.yaml?branch=main)
`py-spiffe` is a Python library designed to provide support for [SPIFFE](https://spiffe.io). The library is
structured into two main packages:### [spiffe](spiffe/README.md)
[![PyPI spiffe](https://badge.fury.io/py/spiffe.svg)](https://pypi.org/project/spiffe/)
The `spiffe` package is the core of the `py-spiffe` library. It provides
functionality for managing SPIFFE identities, including a Workload API client and automatic handling of X.509 and
JWT SVIDs. This package simplifies working with SPIFFE identities by automating SVID fetching and renewal.### [spiffe-tls](spiffe-tls/README.md) (experimental)
[![PyPI spiffe-tls](https://badge.fury.io/py/spiffe-tls.svg)](https://pypi.org/project/spiffe-tls/)
The `spiffe-tls` package, still in its experimental stages, is designed to enhance Python applications with TLS
utilities that simplify the integration of SPIFFE authentication. Its primary objective is to ease the process of
incorporating SPIFFE identities into TLS contexts. To achieve this, it offers a set of utility functions that allow for
the creation of TLS listeners and connections, leveraging the [pyOpenSSL](https://pypi.org/project/pyOpenSSL/) library.## Installation
You can install the `spiffe` and `spiffe-tls` packages directly from PyPI:
```bash
pip install spiffe
pip install spiffe-tls
```## Contributing
Contributions to both `spiffe` and the `spiffe-tls` packages are welcome! Please see
our [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on how to contribute to the project.