Using Secrets in a RunScript

Hi,

I'm using a runscript under Identity Providers>User Attributes>Roles>Expressions.

I want to use the default ignition secret provider instead of hardcoding some of the passwords and secrets in the script.

Is there any documentation for Runscripts interacting with the secret provider?