文档

​
​

Development

User Acquisition

Monetization

工业

Services

Collaboration

LiveOps

Multiplayer

Services

此页面不支持所选语言。
​
​
Overview
  • Overview
  • Get started
  • Pricing and billing
  • Concepts
  • Release notes
Secret Manager
  • Overview
  • Concepts
  • Tutorials
  • Reference
Services
  • Collaboration
  • LiveOps
  • Multiplayer
Reference
  • Overview
Solutions
  • Overview
  • Sample projects
  1. Overview
  2. Secret Manager
  3. Tutorials
  4. Retrieve secrets
  5. Retrieve secrets in Cloud Code

Retrieve secrets in Cloud Code

Use Secret Manager with Cloud Code scripts and modules to securely access sensitive information.
阅读时间1 分钟
最后更新于 8 个月前

Both Cloud Code modules and scripts can access secrets stored in Secret Manager. The following sections describe how to retrieve secrets in Cloud Code modules and scripts. Use Secret Manager to store sensitive information, such as API keys, service account credentials, and other sensitive data.

Section

Description

Retrieve secrets in Cloud Code modulesRetrieve secrets stored in Secret Manager from a Cloud Code module.
Retrieve secrets in Cloud Code scriptsRetrieve secrets stored in Secret Manager from a Cloud Code script.

Prerequisites

You should be familiar with setting up Cloud Code resources. Refer to Getting started with modules or Getting started with scripts for more information.

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

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

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

  • 在本页上
    • Prerequisites


报告此页面的问题