This open source project is community-supported. To report a problem or share an idea, use Issues; and if you have a suggestion for fixing the issue, please include those details, too. In addition, use Pull Requests to contribute actual bug fixes or proposed enhancements. We welcome and appreciate all contributions. Got questions or want to discuss something with our team? Join us on Slack!
VCert Python is a Python library and SDK designed to simplify key generation and enrollment of machine identities (also known as SSL/TLS certificates and keys) that comply with enterprise security policy by using the Venafi Trust Protection Platform or Venafi as a Service.
This implementation is based on the original Go library, https://github.com/Venafi/vcert.
Starting version 0.14.0 vcert-python only supports Python 3.6 or higher
VCert releases are tested using the latest version of Trust Protection Platform. The latest VCert release should be compatible with Trust Protection Platform 17.3 or higher based on the subset of API methods it consumes.
Get the library using pip:
pip install vcert
You also can install latest version from github:
pip install https://github.com/Venafi/vcert-python/archive/master.zip
If installation fails collecting dependancies, make sure your python setuptools is up to date. Run the following command to upgrade to the latest version of setuptools.
pip install setuptools -U
For code samples of programmatic use, please review the files in /examples.
zone format is the DN of a policy with or without the "VEDPolicy" prefix (e.g. "VEDPolicyCertificatesVCert" or simply "CertificatesVCert")zone format is the name of an OutagePREDICT Application and the API Alias of an Issuing Template assigned to it delimited by a single backslash character (e.g. "My ApplicationMy CIT")The requirement for the CA Template to be assigned by policy follows a long standing Venafi best practice which also met our design objective to keep the certificate request process simple for VCert users. If you require the ability to specify the CA Template with the request you can use the TPP REST APIs but please be advised this goes against Venafi recommendations.
Venafi welcomes contributions from the developer community.
git clone [email protected]:youracct/vcert-python.git)git checkout -b your-branch-name)git commit -am 'Added some cool functionality')git push origin your-branch-name)NOTE: While developing with vcert-python, it is helpful if you are using a virtualenv to
install the vcert-python library from source in development mode with pip install --editable.
See https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/
Check version history here
Copyright © Venafi, Inc. All rights reserved.
VCert is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
Please direct questions/comments to [email protected].