文档

​
​

Development

User Acquisition

Monetization

工业

Unity Cloud

Get Started

Asset Manager SDKs and services

Open Unity Dashboard

Unity Cloud

此页面不支持所选语言。
​
​
Unity Dashboard
  • Accounts
    • Create an account
    • Update account information
    • Manage account security
    • Review account data
    • Manage connected applications
    • Delete your account
    • Create a service account
  • Organizations
  • Projects
  • Products
  • Billing
Developer Data
  • Introduction to the Developer Data Framework
  • Get started
  • View Diagnostics for your project
  • Privacy and consent
Unity Asset Manager
  • What's new
  • Asset Manager web
  • Asset Store
  • Manage Assets in the Editor
  • Unity Version Control
  • Developer documentation
Unity Pipeline Automation
  • About
  • Get started
  • Pipelines
  • Automations
  • Monitor jobs
  1. Unity Cloud Documentation
  2. Accounts

Service accounts

Call Unity Services APIs programmatically with service accounts
阅读时间2 分钟
最后更新于 2 个月前

Use service accounts to call Unity Services APIs, and to access and configure admin APIs.

Roles and permissions

Service accounts support role-based access control (RBAC) through roles. You assign organization roles and project roles to each service account. These roles give the service account permissions to perform specific activities, such as managing allocations. If you try to use a service account for an activity without the required permission, the API call authorization fails.
For more information on roles for various Unity services, refer to the following pages:
  • Web admin APIs
  • Cloud Code
  • Cross-domain Identity Management (SCIM) with Okta in Unity Cloud

Create a service account

To create a service account, follow these steps:
  1. In the Unity Dashboard, open the Account menu and select Manage organization.
  2. In the Administration menu, select Service Accounts.
  3. To create a new account, select New.
  4. Enter a name and a description for the service account.
  5. Select Create.
  6. Generate an authentication key pair for the service account.
    1. In the Keys section, select Add key.
      Unity generates a key ID and a secret key for the service account.
    2. Copy and securely store the values for Key ID, Secret key, and Authorization header.
      重要
      These values are displayed only once. If you lose the key values, then you need to create a new key.
    3. Select Done.
  7. To allow access to API endpoints, add a role to your service account at either the organization level or project level:
    • To grant the service account organization-wide data access for all projects in your organization, select Manage organization roles.
    • To grant the service account project-level data access for individual projects, select Manage project roles.
Your service account is created and you can use the key pair to authenticate and use the service account.
提示
You can use a service such as GitHub Actions Secrets or GitLab CI Variables to store the Authorization header value as a secret in your CI platform.

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

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

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

  • 在本页上
    • Roles and permissions

    • Create a service account

  • 其他资源
  • Web admin APIs
  • SCIM with Okta in Unity Cloud

报告此页面的问题