We have updated our Terms of Service, Code of Conduct, and Addendum.

How are secrets distributed to worker in a group

deon.joubert Posts: 1

I am currently setting an environmental variable in a Script collector using a JS Expression as follows: TEST_VAR = C.Secret("test1").value

This works fine for some secrets, but not for others. In the latter case, TEST_VAR is equal to 'C.Secret("test1").value' instead of the actual value.

I get the impression that the secrets for which it does not work have not yet been distributed to the workers in the group. Is this correct? Or is there something else wrong here.



  • Kyle McCririe
    Kyle McCririe Posts: 29 ✭✭

    I would verify that the Secrets you are testing are defined under the Secrets settings for the Worker Group.

    If they are defined there it might be worth opening a Support case to investigate this further.