Skip to main content

Django database backends to use AWS Database IAM Authentication

Project description

Django IAM database backends

Usage

pip install django-iam-dbauth

In your settings use the following

DATABASES = {
    "default": {
        "HOST": "<hostname>",
        "USER": "<user>",
        "ENGINE": 'django_iam_dbauth.aws.postgresql'
        "OPTIONS": {
            "use_iam_auth": True
        }
    }
}

Caveats

  1. You cannot use a cname for the host, it needs to be the actual hostname of the RDS instance.

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-iam-dbauth-0.0.3.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

django_iam_dbauth-0.0.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file django-iam-dbauth-0.0.3.tar.gz.

File metadata

  • Download URL: django-iam-dbauth-0.0.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.2

File hashes

Hashes for django-iam-dbauth-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5506de44fb4914498beff448a6c602cedb0350a32e142250780820f3e5534652
MD5 fe64811c3c57710252b11b59afef2124
BLAKE2b-256 a0dc799ccb12b1f8dad613c32ad80d66cbeeb98822bcae37a6f0e0f9bf8c9f01

See more details on using hashes here.

Provenance

File details

Details for the file django_iam_dbauth-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: django_iam_dbauth-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.2

File hashes

Hashes for django_iam_dbauth-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3755af80a3c94e1f695bb9b76ce5d87d18c8973ab76a5729266eeeb015ddaa34
MD5 f82775cd78c5433dc9b555eacd2ba889
BLAKE2b-256 5c9dcb63b50b33950fbd8941fcbe9e54adf36e8aeff46bd55442c59cfc7beeb9

See more details on using hashes here.

Provenance

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