Skip to content

Commit

Permalink
added documentation for mongodb atlas database secrets engine eventua… (
Browse files Browse the repository at this point in the history
#24152)

* added documentation for mongodb atlas database secrets engine eventual consistency
  • Loading branch information
kevin-loehfelm authored May 1, 2024
1 parent e17b57f commit 1b21400
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog/24152.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
website/docs: Add note about eventual consietency with the MongoDB Atlas database secrets engine
```
10 changes: 10 additions & 0 deletions website/content/docs/secrets/databases/mongodbatlas.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,16 @@ the proper permissions, it can generate credentials.
username v-my-password-role-DKbQEg6uRn
```

Each invocation of the command generates a new credential.

MongoDB Atlas database credentials eventually become consistent when the
[MongoDB Atlas Admin API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/)
coordinates with hosted clusters in your Atlas project. You cannot use the
credentials successfully until the consistency process completes.

If you plan to use MongoDB Atlas credentials in a pipeline, you may need to add
a time delay or secondary process to account for the time required to establish consistency.

#### Client certificate credentials

1. Configure a role that maps a name in Vault to a MongoDB Atlas command that executes and
Expand Down

0 comments on commit 1b21400

Please sign in to comment.