No description
  • Go 87%
  • Shell 8.4%
  • Makefile 4.6%
Find a file
2026-03-25 16:19:50 -05:00
.github chore: remove changie (#106) 2025-10-17 09:31:41 -07:00
cmd/vault-plugin-database-mongodbatlas [COMPLIANCE] Update Copyright and License Headers (#109) 2026-01-22 15:21:39 -05:00
scripts [COMPLIANCE] Update Copyright and License Headers (#109) 2026-01-22 15:21:39 -05:00
website/source Address review comments 2020-01-10 11:40:18 -08:00
.gitignore Move from MongoDB Atlas whitelist to access list API (#24) 2021-02-22 13:34:20 +00:00
.go-version Prepare v0.17.0 release (#110) 2026-03-18 23:26:42 +05:30
CHANGELOG.md add changelog (#113) 2026-03-25 16:19:50 -05:00
CODEOWNERS Create CODEOWNERS (#87) 2024-11-12 09:23:31 -05:00
connection_producer.go [COMPLIANCE] Update Copyright and License Headers (#109) 2026-01-22 15:21:39 -05:00
docker-test.sh [COMPLIANCE] Update Copyright and License Headers (#109) 2026-01-22 15:21:39 -05:00
go.mod Automated dependency upgrades (#112) 2026-03-19 15:38:04 -07:00
go.sum Automated dependency upgrades (#112) 2026-03-19 15:38:04 -07:00
LICENSE [COMPLIANCE] Update Copyright and License Headers (#109) 2026-01-22 15:21:39 -05:00
Makefile update gha workflows (#45) 2023-03-28 09:39:08 -05:00
mongodbatlas.go [COMPLIANCE] Update Copyright and License Headers (#109) 2026-01-22 15:21:39 -05:00
mongodbatlas_test.go [COMPLIANCE] Update Copyright and License Headers (#109) 2026-01-22 15:21:39 -05:00
README.md chore: remove changie (#106) 2025-10-17 09:31:41 -07:00

HashiCorp Vault Database Secrets Engine - MongoDB Atlas plugin

MongoDB Atlas is one of the supported plugins for the HashiCorp Vault Database Secrets Engine and allows for the programmatic generation of unique, ephemeral MongoDB Database User credentials in MongoDB Atlas Projects.

The plugin is included from version 1.4 of Vault.

Please note: If you would like to install a different version of this plugin than the one that is bundled with Vault, versions v0.2.0 onwards of this plugin are incompatible with Vault versions before 1.6.0 due to an update of the database plugin interface.

Support, Bugs and Feature Requests

Support for the HashiCorp Vault Database Secrets Engine - MongoDB Atlas is provided under MongoDB Atlas support plans. Please submit support questions within the Atlas UI. Vault support is via HashiCorp.

Bugs should be filed under the Issues section of this repo.

Feature requests can be submitted in the Issues section or directly to MongoDB - just select the Vault plugin as the category or vote for an already suggested feature.

Please note: HashiCorp takes Vault's security and their users' trust very seriously, as does MongoDB.

If you believe you have found a security issue in Vault or with this plugin, please responsibly disclose by contacting HashiCorp at security@hashicorp.com and contact MongoDB directly via security@mongodb.com or open a ticket (link is external).

Acceptance Testing

In order to perform acceptance testing, you need to provide all of the necessary information to connect to a MongoDB Atlas Project. All ATLAS_* environment variables must be provided in order for the acceptance tests to run properly. A cluster must be available during the test. A free tier cluster can be provisioned manually to test.

Environment variable Description
ATLAS_PUBLIC_KEY The Atlas API public key
ATLAS_PRIVATE_KEY The Atlas API private key
ATLAS_PROJECT_ID The desired project ID or group ID
ATLAS_CLUSTER_NAME The desired cluster's name, e.g., vault-project.xyz.mongodb.net
ATLAS_ALLOWLIST_IP The public IP of the machine that the test is being performed

Then you can run make testacc to execute the tests.