You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/pipelines/variables.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -267,15 +267,16 @@ This means that when you use it you **don't** need any dollar signs for the vari
267
267
cf_export $MY_VAR # Don't do this
268
268
cf_export MY_VAR # Correct syntax
269
269
```
270
-
<!---
270
+
271
+
271
272
<br>
272
273
273
-
####Encrypting variables within `cf_export`
274
+
####Masking variables within`cf_export`
274
275
275
-
Encrypt variables within `cf_export` by defining the `--mask` flag.
276
-
Values ofencrypted variables in `cf_export` commands are replaced with asterisks in the Build variable list.
276
+
Mask variables within`cf_export` by defining the`--mask` flag.
277
+
Values ofmasked variables in`cf_export` commands are replaced with asterisks in the Build variable list.This helps to ensure that sensitive information is not exposed also in the variables list, in addition to the logs.
277
278
278
-
Here is an example with standard andencrypted versions of the same variable in `cf_export` commands.
279
+
Here is an example with standard andmasked versions of the same variable in`cf_export` commands.
279
280
280
281
{% highlight yaml %}
281
282
{% raw %}
@@ -292,10 +293,11 @@ steps:
292
293
{% endraw %}
293
294
{% endhighlight %}
294
295
295
-
-->
296
+
296
297
297
298
<br>
298
299
300
+
299
301
####Export variables to all steps with`cf_export`
300
302
301
303
By default,`cf_export` works only on*subsequent* steps.