Skip to main content

A database driver for Django to connect to an Informix db via ODBC, obtaining the credentials from Hashicorp Vault

Project description

Extends the database driver for Django django_informixdb to retrieve credentials from a Hashicorp Vault service.

Assumptions

This driver expects the credentials to be stored in a KV v2 secret in Vault, as keys username and password.

Supported Authentication

Two methods, with highest priority first: - K8s JWT - Basic Token

Settings Required

Do not provide USER and PASSWORD. Instead provide these settings:

Setting

Required

Description

VAULT_ADDR

Yes

The HTTPS endpoint for Vault

VAULT_PATH

Yes

The path in Vault to the KV v2 secret storing the Informix credentials

VAULT_K8S_ROLE

Optional

Provide the K8s role if using K8s JWT authentication to Vault

VAULT_TOKEN

Optional

Provide the token if using basic token authentication to Vault

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_informixdb_vault-0.0.1.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file django_informixdb_vault-0.0.1.tar.gz.

File metadata

  • Download URL: django_informixdb_vault-0.0.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

File hashes

Hashes for django_informixdb_vault-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f61afcb983fed4830ca164e1f77e14f3382fc0f8058acbf97e49f4827cd5039f
MD5 b516582a3c8a3de882f93c967c75e41e
BLAKE2b-256 207fb032c64d2ba511b1e9e4e56c4f6bd11f6bd25fb4ad6c41fab172f68e2cdd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page