Does MINION_VSE_PASSPHRASE work with Ping Monitors?

Hi! So we are testing the Private locations feature. I created a Private location and, for testing purposes, launched a docker container in my own computer. The docker command has the MINION_VSE_PASSPHRASE parameter and the Private location has the Enable verified script execution option checked.

I created a ping monitor to check if the monitor would have access to one of our intranet sites and I expected to ask for the passphrase to be able to use the private location, but it doesn’t.

Maybe this passphrase functionality is only for Scripted Monitors?

NOTE: The monitor indeed has access to the intranet site, but I expected the passphrase to be mandatory.

Hey @dhernandez1,

You’re correct. The MINION_VSE_PASSPHRASE is only for protecting the scripts of a Scripted Browser or API test.

You can find information on how to enable script verification here:

https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/private-locations/verified-script-execution-private-locations/

You must use scriptLocations to set the password. You can find info on that here:

https://docs.newrelic.com/docs/apis/synthetics-rest-api/monitor-examples/manage-synthetics-monitors-rest-api/#scriptlocations

Here are some tips on creating the correct HMAC values from your script:

https://newrelic.zendesk.com/hc/en-us/articles/1500005170762

Let me know if this helps!

1 Like