Using Unified Secrets Gateway

concept australia Updated Sep 18, 2026 1 min read usg-using.md
Raw file servicenow.com

Use Unified Secrets Gateway (USG) to retrieve secrets through APIs.

USG provides two methods to retrieve secrets:

  • Java API
  • Server API

All API methods include full authorization validation and comprehensive audit logging of every access attempt.

Retrieve secrets using the Java API

Call SecretsAPI.getSecret() or SecretsAPI.getSecrets() from Java applications and server-side integrations to retrieve individual or batch secrets.

Retrieve secrets using the Server API

Use the scriptable API to retrieve secrets from background scripts, business rules, flows, or other server-side scripts.

For detailed API specifications, parameters, and code examples, see Secrets API.

Parent Topic:Unified Secrets Gateway

Keywords unified secrets gatewayAPIssecret retrievalJava APIServer API
Search documentation
Search document titles and file paths on the australia branch