Update mongodb.mdx (#30914)

Updated out-of-date MongoDB documentation links.

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
This commit is contained in:
Mary Frances 2025-07-14 17:38:31 -07:00 committed by GitHub
parent 5834655f6d
commit 054e4a5ebd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -94,10 +94,10 @@ $ vault write database/config/my-mongodb-database \
tls_ca=@/path/to/client.ca
```
Note: `tls_certificate_key` and `tls_ca` map to [`tlsCertificateKeyFile`](https://docs.mongodb.com/manual/reference/program/mongo/#cmdoption-mongo-tlscertificatekeyfile)
and [`tlsCAFile`](https://docs.mongodb.com/manual/reference/program/mongo/#cmdoption-mongo-tlscafile) configuration options
Note: `tls_certificate_key` and `tls_ca` map to [`tlsCertificateKeyFile`](https://www.mongodb.com/docs/manual/reference/program/mongod/#std-option-mongod.--tlsCertificateKeyFile)
and [`tlsCAFile`](https://www.mongodb.com/docs/manual/reference/program/mongod/#std-option-mongod.--tlsCAFile) configuration options
from MongoDB with the exception that the Vault parameters are the contents of those files, not filenames. As such,
the two options are independent of each other. See the [MongoDB Configuration Options](https://docs.mongodb.com/manual/reference/program/mongo/)
the two options are independent of each other. See the [MongoDB Configuration Options](https://www.mongodb.com/docs/manual/reference/configuration-options/)
for more information.
## Tutorial