Skip to content

django db engine for using IAM Authentication with Google Cloud SQL

License

Notifications You must be signed in to change notification settings

rcleveng/django_gcp_iam_auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django_gcp_iam_auth

django db engine for using IAM Authentication with Google Cloud SQL.

Available on pypi at https://pypi.org/project/django-gcp-iam-auth

Installation

pip install django_gcp_iam_auth

Usage

  1. Update the DATABASES entry to replace the ENGINE for your connection
  2. Set gcp_iam_auth to True in the OPTIONS for that connection.

Example:

DATABASES["default"]["ENGINE"]  = "django_gcp_iam_auth.postgresql"
DATABASES["default"]["OPTIONS"]["gcp_iam_auth"] = True

About

django db engine for using IAM Authentication with Google Cloud SQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages