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
_Secrets masking is not currently available on self-hosted installations of CircleCI server._
5
+
_Secrets masking is not available on version 2.x of self-hosted installations of CircleCI server._
5
6
6
7
Environment variables and contexts may hold project secrets or keys that perform crucial functions for your applications. Secrets masking provides added security within CircleCI by obscuring environment variables in the job output when `echo` or `print` is used.
7
8
8
9
Secrets masking is applied to environment variables set within **Project Settings** or **Contexts** in the web app.
9
10
10
11
The value of the environment variable or context will _not_ be masked in the job output if:
11
12
12
-
* the value of the environment variable is less than 4 characters
13
-
* the value of the environment variable is equal to one of `true`, `True`, `false`, or `False`
13
+
- the value of the environment variable is less than 4 characters
14
+
- the value of the environment variable is equal to one of `true`, `True`, `false`, or `False`
14
15
15
16
Secrets masking will only prevent values from appearing in your job output. Invoking a bash shell with the `-x` or `-o xtrace` options may inadvertantly log unmasked secrets (please refer to [Using shell scripts]({{site.baseurl}}/using-shell-scripts)). If your secrets appear elsewhere, such as test results or artifacts, they will not be masked. Additionally, values are still accessible to users [debugging builds with SSH]({{site.baseurl}}/ssh-access-jobs).
0 commit comments