
$secrets followed by the secret name and then the key name, all separated by periods.
If you have a secret named dbCredentials with a key username, you can reference it as:
$secrets.dbCredentials.usernameUsing Secrets in Scripts
You can also access secrets from within Pre-request and Post-request scripts using thebru.getSecretVar() function.