Documentation

​
​

Development

User Acquisition

Monetization

Industry

Services

Collaboration

LiveOps

Multiplayer

Services

​
​
Overview
  • Overview
  • Get started
  • Pricing and billing
  • Concepts
  • Release notes
Secret Manager
  • Overview
  • Concepts
    • Secret structure
    • Secret hierarchy
    • Service access
  • Tutorials
  • Reference
Services
  • Collaboration
  • LiveOps
  • Multiplayer
Reference
  • Overview
Solutions
  • Overview
  • Sample projects
  1. Overview
  2. Secret Manager
  3. Concepts

Secret Structure

Explore the fields that are contained within a secret.
Read time 1 minute
Last updated 9 months ago

The secret is the fundamental unit of data in Secret Manager. It contains the sensitive data that you want to store securely and additional metadata that describes the secret.
Refer to the table below for the fields that make up a secret.

Field

Type

Description

key
stringThe unique identifier for the secret. The key must be unique per hierarchy.
value
stringThe sensitive data that you want to store securely.
description
stringA brief description of the secret. This is optional, and can be left empty.
scope
project
,
organization
, or
environment
The level at which the secret is stored. Refer to Secret hierarchy.
overriddenScope
project
,
organization
,
environment
or
null
The level which the secret is overriding. This may be null.
creationDate
Timestamp in the RFC3339 formatThe time at which the secret was created.
lastUpdatedDate
Timestamp in the RFC3339 formatThe time at which the secret was last updated.
serviceAccess
Array of stringsThe list of Unity services that can access the secret. Refer to Service access for more information.
Refer to the Limits page for information on limits per field, and the limit for total secrets per hierarchy.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.


    Report a problem with this page