face+security: Introduce environment variables to set/override transport, pib, and tpm configurations.
- NDN_CLIENT_TRANSPORT: equivalent of transport in client.conf
- NDN_CLIENT_PIB: equivalent of pib in client.conf
- NDN_CLIENT_TPM: equivalent of tpm in client.conf
Whenever an environment variable is set, it takes precedence over any
values specified in the configuration file.
Change-Id: I44c2347168616387a0489b6bf5c2c3a12db29863
Refs: #2925, #2514
diff --git a/docs/manpages/ndn-client.conf.rst b/docs/manpages/ndn-client.conf.rst
index 50abf21..4ecb138 100644
--- a/docs/manpages/ndn-client.conf.rst
+++ b/docs/manpages/ndn-client.conf.rst
@@ -23,14 +23,8 @@
By default, ``unix:///var/run/nfd.sock`` is used.
-Prefix Registration
--------------------
-
-protocol
- The prefix registration protocol. For now, only one protocol ``nrd-0.1`` is supported.
- With this protocol, applications send prefix registration requests to NFD RIB manager.
- NFD RIB Manager, after authenticating the request, will set up corresponding FIB entries
- in NFD.
+ ..note::
+ This value can be overriden using `NDN_CLIENT_TRANSPORT` environment variable.
Key Management
--------------
@@ -60,6 +54,9 @@
rm -rf ~/.ndn/ndnsec-*
+ ..note::
+ This value can be overriden using `NDN_CLIENT_PIB` environment variable.
+
tpm
Trusted Platform Module (TPM) where the private keys are stored. The format for this setting
is::
@@ -91,3 +88,6 @@
**Change of ``tpm`` setting is only possible together with ``pib`` setting. Otherwise, an
error will be generated during PIB/TPM access**
+
+ ..note::
+ This value can be overriden using `NDN_CLIENT_TPM` environment variable.