Skip to content

Commit 9dde0d6

Browse files
authored
(DOCSP-14402) Externally sourced config values (#309)
* (DOCSP-14402) Externally sourced config values
1 parent 0e5d636 commit 9dde0d6

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

snooty.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ om-full = "MongoDB Ops Manager"
2626
ent-build = "MongoDB Enterprise"
2727
hardlink = "https://docs.mongodb.com/bi-connector/"
2828
adc = ":abbr:`ADC (Active Directory Controller)`"
29+
api = ":abbr:`API (Application Programming Interface)`"
2930
bi-atlas-short-link = ":doc:`BI Connector for Atlas </atlas-bi-connector>`"
3031
bi-atlas-short = "BI Connector for Atlas"
3132
bi-atlas = "MongoDB Connector for Business Intelligence for MongoDB Atlas"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
You may use expansion directives in your configuration file to load
2+
externally sourced configuration values. Expansion directives
3+
obscure confidential information like security certificates and
4+
passwords.
5+
6+
To learn more about using expansion directives, see :manual:`Externally Sourced Configuration File Values </reference/expansion-directives/>`
7+
in the MongoDB manual.

source/reference/mongosqld.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
.. contents:: On this page
88
:local:
99
:backlinks: none
10-
:depth: 1
10+
:depth: 2
1111
:class: singlecol
1212

1313
.. meta::
@@ -283,6 +283,10 @@ You may configure :binary:`~bin.mongosqld` using a `YAML <http://yaml.org/>`_
283283
configuration file. This file may contain the settings listed in the
284284
following sections.
285285

286+
.. note::
287+
288+
.. include:: /includes/config-file-expansion-directives.rst
289+
286290
.. _msqld-conf-log-options:
287291

288292
Logging Options
@@ -718,6 +722,11 @@ These configuration file options are also available as system variables.
718722
For more information, see
719723
:ref:`System Variables <system-environment-variables>`.
720724

725+
Load External Configuration Values
726+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
727+
728+
.. include:: /includes/config-file-expansion-directives.rst
729+
721730
Example Configuration File
722731
~~~~~~~~~~~~~~~~~~~~~~~~~~
723732

source/release-notes.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ Release Notes for |bi|
3030
New Features
3131
~~~~~~~~~~~~
3232

33-
- Enables the use of externally sourced values in .yaml configuration
34-
files.
33+
- Enables the use of externally sourced values in .yaml
34+
:ref:`configuration files <config-format>`.
3535

3636
- Adds support for the following fields in .yaml configuration files:
3737

0 commit comments

Comments
 (0)