vault-psycopg2
Helper classes to integrate psycopg2 with Vault
Usage:
pip install vault-psycopg2
from vault_psycopg2 import VaultPsycopg
vp = VaultPsycopg(
database_config={
'host': 'localhost',
'dbname': 'name_of_database'
},
vault_config={
'server': 'http://127.0.0.1:8200',
'connection_mode': 'ec2',
'nonce': '5daa3d21-4e21-4bd5-8978-fcb81e658d8b',
'role': 'some-instance'
}
)
# An instance of psycopg2.Connection that is properly authenticated
vp.connection
Other examples of vault config:
vault_config={
'server': 'http://127.0.0.1:8200',
'connection_mode': 'token',
'token': '5daa3d21-4e21-4bd5-8978-fcb81e658d8b'
}
vault_config={
'server': 'http://127.0.0.1:8200',
'connection_mode': 'userpass',
'username': 'john.doe',
'password': 'xyzzyabc'
}
Metadata
Release files for vault-psycopg2 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vault-psycopg2-0.1.11.tar.gz | 2.7 kB | Without provenance | Details for vault-psycopg2-0.1.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vault_psycopg2-0.1.11-py3-none-any.whl | Python 3 | none | any | Details for vault_psycopg2-0.1.11-py3-none-any.whl |
Total release size: 6.8 kB
Release files / vault-psycopg2-0.1.11.tar.gz
| Download URL | vault-psycopg2-0.1.11.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65effe27f939fafa320bbbdd0a51291d3aa80394905bec8b35d4d8be810fae65
|
|
BLAKE2b-256 checksum How to use checksums |
ce80c887532e2eb23a5657f5331a20f52dea78796234f19f8369fa48b4746cb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Release files / vault_psycopg2-0.1.11-py3-none-any.whl
| Download URL | vault_psycopg2-0.1.11-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fcafe0666b26f3ef687207ee1b1fd98c13b62f31110ef9192c1e308dab10c99f
|
|
BLAKE2b-256 checksum How to use checksums |
d71f13ae9a1321f8b15c37784bb09cc922c93033d2cb7b42c86ea6de60757641
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Security for vault-psycopg2 0.1.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.