---
sourceDocument: Brazil Platform security
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-security

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Using Unified Secrets Gateway

# Using Unified Secrets Gateway {#ariaid-title1}

Release version: Brazil  
Updated September 18, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
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.

## Related API documentation

For detailed API specifications, parameters, and code examples, see [Secrets API](https://www.servicenow.com/docs/access?context=SecretsAPI&version=brazil&pubname=brazil-api-reference&ft:locale=en-US).

