├── .dockerignore ├── .github ├── blunderbuss.yml ├── renovate.json └── workflows │ ├── lint.yml │ ├── release-please.yml │ └── run_tests.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── app.py ├── iam_groups_authn ├── __init__.py ├── iam_admin.py ├── mysql.py ├── postgres.py ├── sql_admin.py ├── sync.py └── utils.py ├── images ├── basic_architecture.png ├── custom_config.png ├── private_custom_config.png ├── private_ip_architecture.png └── service_overview.png ├── noxfile.py ├── pytest.ini ├── requirements-test.txt ├── requirements.txt ├── scripts ├── README.md ├── build-and-deploy-private-ip.sh └── build-and-deploy.sh ├── setup.cfg ├── setup.py └── tests ├── integration ├── helpers.py ├── test_group_role_mapping.py ├── test_mysql_sync.py └── test_postgres_sync.py └── unit ├── test_add_missing_db_users.py ├── test_database_versions.py ├── test_get_iam_users.py ├── test_get_users_with_roles.py └── test_verify_group_role_length.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/blunderbuss.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/.github/blunderbuss.yml -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/release-please.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/.github/workflows/release-please.yml -------------------------------------------------------------------------------- /.github/workflows/run_tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/.github/workflows/run_tests.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/README.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/app.py -------------------------------------------------------------------------------- /iam_groups_authn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/iam_groups_authn/__init__.py -------------------------------------------------------------------------------- /iam_groups_authn/iam_admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/iam_groups_authn/iam_admin.py -------------------------------------------------------------------------------- /iam_groups_authn/mysql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/iam_groups_authn/mysql.py -------------------------------------------------------------------------------- /iam_groups_authn/postgres.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/iam_groups_authn/postgres.py -------------------------------------------------------------------------------- /iam_groups_authn/sql_admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/iam_groups_authn/sql_admin.py -------------------------------------------------------------------------------- /iam_groups_authn/sync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/iam_groups_authn/sync.py -------------------------------------------------------------------------------- /iam_groups_authn/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/iam_groups_authn/utils.py -------------------------------------------------------------------------------- /images/basic_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/images/basic_architecture.png -------------------------------------------------------------------------------- /images/custom_config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/images/custom_config.png -------------------------------------------------------------------------------- /images/private_custom_config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/images/private_custom_config.png -------------------------------------------------------------------------------- /images/private_ip_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/images/private_ip_architecture.png -------------------------------------------------------------------------------- /images/service_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/images/service_overview.png -------------------------------------------------------------------------------- /noxfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/noxfile.py -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/requirements-test.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/scripts/README.md -------------------------------------------------------------------------------- /scripts/build-and-deploy-private-ip.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/scripts/build-and-deploy-private-ip.sh -------------------------------------------------------------------------------- /scripts/build-and-deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/scripts/build-and-deploy.sh -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/setup.py -------------------------------------------------------------------------------- /tests/integration/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/tests/integration/helpers.py -------------------------------------------------------------------------------- /tests/integration/test_group_role_mapping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/tests/integration/test_group_role_mapping.py -------------------------------------------------------------------------------- /tests/integration/test_mysql_sync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/tests/integration/test_mysql_sync.py -------------------------------------------------------------------------------- /tests/integration/test_postgres_sync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/tests/integration/test_postgres_sync.py -------------------------------------------------------------------------------- /tests/unit/test_add_missing_db_users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/tests/unit/test_add_missing_db_users.py -------------------------------------------------------------------------------- /tests/unit/test_database_versions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/tests/unit/test_database_versions.py -------------------------------------------------------------------------------- /tests/unit/test_get_iam_users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/tests/unit/test_get_iam_users.py -------------------------------------------------------------------------------- /tests/unit/test_get_users_with_roles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/tests/unit/test_get_users_with_roles.py -------------------------------------------------------------------------------- /tests/unit/test_verify_group_role_length.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-sql-iam-db-authn-groups/HEAD/tests/unit/test_verify_group_role_length.py --------------------------------------------------------------------------------