django-informixdb-vault


Namedjango-informixdb-vault JSON
Version 0.6.3 PyPI version JSON
download
home_pageNone
SummaryA database driver for Django to connect to an Informix db via ODBC, obtaining the credentials from Hashicorp Vault
upload_time2024-12-18 02:03:01
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseAPLv2
keywords django informix vault
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Django InformixDB Vault
=======================

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_AUTH_MOUNT_POINT`        No           The Vault mount point to use for Kubernetes authentication, default value: ``kubernetes``
`VAULT_K8S_JWT`                     No           The path to the JWT in a K8s container, default value: ``/var/run/secrets/kubernetes.io/serviceaccount/token``
`VAULT_K8S_ROLE`                    Conditional  Provide the K8s role *if* using K8s JWT authentication to Vault
`VAULT_KVV2_MOUNT_POINT`            No           The Vault mount point to use for KVv2 secrets, default value: ``secret``
`VAULT_TOKEN`                       Conditional  Provide the token *if* using basic token authentication to Vault
`VAULT_MAXIMUM_CREDENTIAL_LIFETIME` No           Time interval (seconds) to force retrieving credentials from Vault, default value: ``3600``
=================================== ===========  ===========

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "django-informixdb-vault",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "django, informix, vault",
    "author": null,
    "author_email": "Reecetech <opensource@reecetech.com.au>",
    "download_url": "https://files.pythonhosted.org/packages/f9/b5/c6ed8e1c076c76d83dcedd7b2ec8f43a1d376d1e8353c5457928e4b625a1/django_informixdb_vault-0.6.3.tar.gz",
    "platform": null,
    "description": "Django InformixDB Vault\n=======================\n\nExtends the database driver for Django `django_informixdb` to retrieve credentials from a Hashicorp Vault service.\n\n\nAssumptions\n-----------\n\nThis driver expects the credentials to be stored in a KV v2 secret in Vault, as keys `username` and `password`.\n\n\nSupported Authentication\n------------------------\n\nTwo methods, with highest priority first:\n- K8s JWT\n- Basic Token\n\n\nSettings Required\n-----------------\n\nDo not provide `USER` and `PASSWORD`.  Instead provide these settings:\n\n=================================== ===========  ===========\nSetting                             Required     Description\n=================================== ===========  ===========\n`VAULT_ADDR`                        Yes          The HTTPS endpoint for Vault\n`VAULT_PATH`                        Yes          The path in Vault to the KV v2 secret storing the Informix credentials\n`VAULT_K8S_AUTH_MOUNT_POINT`        No           The Vault mount point to use for Kubernetes authentication, default value: ``kubernetes``\n`VAULT_K8S_JWT`                     No           The path to the JWT in a K8s container, default value: ``/var/run/secrets/kubernetes.io/serviceaccount/token``\n`VAULT_K8S_ROLE`                    Conditional  Provide the K8s role *if* using K8s JWT authentication to Vault\n`VAULT_KVV2_MOUNT_POINT`            No           The Vault mount point to use for KVv2 secrets, default value: ``secret``\n`VAULT_TOKEN`                       Conditional  Provide the token *if* using basic token authentication to Vault\n`VAULT_MAXIMUM_CREDENTIAL_LIFETIME` No           Time interval (seconds) to force retrieving credentials from Vault, default value: ``3600``\n=================================== ===========  ===========\n",
    "bugtrack_url": null,
    "license": "APLv2",
    "summary": "A database driver for Django to connect to an Informix db via ODBC, obtaining the credentials from Hashicorp Vault",
    "version": "0.6.3",
    "project_urls": {
        "Homepage": "https://github.com/reecetech/django_informixdb_vault",
        "Repository": "https://github.com/reecetech/django_informixdb_vault"
    },
    "split_keywords": [
        "django",
        " informix",
        " vault"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f9b5c6ed8e1c076c76d83dcedd7b2ec8f43a1d376d1e8353c5457928e4b625a1",
                "md5": "f8762a667fa1cf8444a60f22c41bdf4f",
                "sha256": "f0071406d5d22b92b99ed99533d186b79693a7bde0e25350a3380cfc4fa762ad"
            },
            "downloads": -1,
            "filename": "django_informixdb_vault-0.6.3.tar.gz",
            "has_sig": false,
            "md5_digest": "f8762a667fa1cf8444a60f22c41bdf4f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8979,
            "upload_time": "2024-12-18T02:03:01",
            "upload_time_iso_8601": "2024-12-18T02:03:01.402145Z",
            "url": "https://files.pythonhosted.org/packages/f9/b5/c6ed8e1c076c76d83dcedd7b2ec8f43a1d376d1e8353c5457928e4b625a1/django_informixdb_vault-0.6.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-18 02:03:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "reecetech",
    "github_project": "django_informixdb_vault",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "django-informixdb-vault"
}
        
Elapsed time: 0.59031s