@@ -157,7 +157,7 @@ For each configured environmentalized entity a property exists.
157157The name of the property is the _short hand key_ of the entity.
158158
159159The value of the field can be specified directly by a `value` property.
160- It can also be specified indirectly by a property identified by the `property ` property.
160+ It can also be specified indirectly by a property or environment variables (controlled via the `source ` property) .
161161
162162Properties are name/value pairs.
163163The value of the property is defined ... _(in order of precedence)_
@@ -221,7 +221,7 @@ The plugin and the configuration tool provides a set of predefined system proper
221221 "value": "_system.build.datetime" <8>
222222 }
223223 }
224- }
224+ },
225225 "/[CircuitContainer]name=Hello World/[FilterCircuit]name=Hello World Message/[SetAttributeFilter]name=Network zone": {
226226 "description": "Network zone the API Gateway is located.",
227227 "fields": {
@@ -232,9 +232,20 @@ The plugin and the configuration tool provides a set of predefined system proper
232232 "value": "internal" <9>
233233 }
234234 }
235+ },
236+ "/[CircuitContainer]name=Hello World/[FilterCircuit]name=Hello World Message/[SetAttributeFilter]name=User": {
237+ "description": "Name of the user building the .fed",
238+ "fields": {
239+ "attributeValue#0": {
240+ "source": "env" <10>
241+ "type": "string",
242+ "used": true,
243+ "value": "USERNAME" <11>
244+ }
245+ }
235246 }
236247 }
237- "properties": { <10 >
248+ "properties": { <12 >
238249 "foobar": "myvalue"
239250 }
240251}
@@ -250,7 +261,9 @@ The property is automatically maintained by the plugin.
250261<7> Name of the property containing the value.
251262<8> Use value of the predefined system property `_system.build.datetime`.
252263<9> Literal value for the field.
253- <10> An optional local definition of properties.
264+ <10> Specifies an environment variable as the source for the field value.
265+ <11> Field value is retrieved from the `USERNAME` environment variable.
266+ <12> An optional local definition of properties.
254267If the same property is defined in a separate property file (see below), the separate property has precedence.
255268
256269NOTE: If `value` is _null_ the field is treated as undefined and the build will fail.
@@ -306,6 +319,14 @@ It specifies the alias of the certificates within the project and the source of
306319 "source": "property", <14>
307320 "type": "p12"
308321 }
322+ },
323+ "test3": {
324+ "update": {
325+ "file": "cert/server.p12",
326+ "password": "TEST3_PASSWORD", <15>
327+ "source": "env", <16>
328+ "type": "p12"
329+ }
309330 }
310331 }
311332}
@@ -328,6 +349,8 @@ A missing `update` attribute indicates a new/unconfigured certificate.
328349This certificate will be added to the certificate store.
329350<13> Password for the `.p12` file is retrieved from the property configuration file.
330351<14> Declares the property "password" as the source of the password for the `.p12` file.
352+ <15> The password is retrieved from the `TEST3_PASSWORD` environment variable.
353+ <16> Specifies an environment variable as the source of the password.
331354
332355=== Properties
333356
0 commit comments