Use ESVs in scripts
Overview
Identity Cloud lets scripts access ESVs directly, without the need for you to restart Identity Cloud services or request a promotion first.
AM scripts
To access an ESV with the name esv-my-variable
in an AM script, use:
systemEnv.getProperty("esv.my.variable")
For more information on using the systemEnv
binding, see https://backstage.forgerock.com/docs/idcloud-am/latest/scripting-guide/scripting-api.html#property-substitution-scripts.
IDM scripts
To access an ESV with the name esv-my-variable
in an IDM script, use:
identityServer.getProperty("esv.my.variable")
For more information on using the identityServer
variable, see
https://backstage.forgerock.com/docs/idcloud-idm/latest/scripting-guide/script-variables-identity-server.html.