文档

​
​

Development

User Acquisition

Monetization

工业

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 hierarchy

Understand the hierarchical structure of secrets.
阅读时间1 分钟
最后更新于 9 个月前

You can store secrets in a hierarchy. The hierarchy is a tree structure that organizes secrets into levels. Each level represents a different scope of access. The hierarchy is based on the structure of Unity Cloud projects, which consist of organizations, projects, and environments.

Hierarchy levels

The three levels align with the structure of Unity Cloud projects.

Level

Description

OrganizationSecrets stored at the organization level are accessible to the organization and all projects and environments in the organization.
ProjectSecrets stored at the project level are accessible by the project and all environments in the project.
EnvironmentSecrets stored at the environment level are only accessible to the environment where they are stored.

Inheritance

Secrets are inherited from the levels above them. For example, project-level secrets inherit from organization-level secrets, and environment-level secrets inherit from project-level and organization level secrets. You can view inherited secrets at each level. You can create an override to change the value of an inherited secret at a lower level.

Override secrets

You can override secrets at a lower level. For example, you can override a project-level secret at the environment level. The overridden secret is only accessible to the scope where it is stored. Overrides are identified by a shared secret key. If you have a secret with the same key at multiple levels, the secret at the lowest level takes precedence.
For example, an environment-level secret overrides a project-level secret, and a project-level secret overrides an organization-level secret.
If you delete an override, the secret reverts to the value stored at the level above it.

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Hierarchy levels

    • Inheritance

    • Override secrets


报告此页面的问题