기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Self-Hosted Deployment

Amazon Web Services

Microsoft Azure

On premises

vpctl

Self-Hosted Deployment

이 페이지는 선택한 언어로 제공되지 않습니다.
​
​
Self-Hosted Deployment
  • Overview
  • Amazon Web Services
  • Microsoft Azure
  • On premises
  • Administration
    • Access the Keycloak admin console
    • Complete initial solution onboarding
    • Single sign-on
    • Organizations and projects
    • Users and service accounts
      • Create a user
      • Manage access for a user
      • Create a service account
      • Manage access for a service account
      • Manage keys for a service account
      • Authenticate with a service account
      • Delete a service account
    • Groups
    • Licensing
    • upc-cli tool
    • Custom branding
  • Security
  • vpctl
  1. Self-Hosted Deployment (previously called Unity Virtual Private Cloud)
  2. Administration
  3. Users and service accounts

Authenticate with a service account

Use Basic or Bearer authentication when accessing APIs with a service account
읽는 시간 1분
최근 업데이트: 한 달 전

You can use either Basic or Bearer authentication to access Unity service API endpoints with a service account. In both cases, use a key ID as the client name and the matching secret as the client secret. Don't use the service account name or its UUID to authenticate.
All keys that belong to the same service account are interchangeable and resolve to the same service account. Read more about managing keys for a service account.

Bearer token authentication

To use Bearer authentication, first obtain a JWT token for the service account, and then pass it in the
Authorization
header of your API request. To obtain the token, follow the standard OAuth 2.0 Client Credentials flow by sending an HTTP POST request to the Keycloak token endpoint:
https://<SolutionFQDN>/auth/realms/unity/protocol/openid-connect/token
Replace
<SolutionFQDN>
with the fully qualified domain name (FQDN) of the solution.

Example

The following sample request uses cURL to obtain a JWT token:
curl --request POST \ --url 'https://<SolutionFQDN>/auth/realms/unity/protocol/openid-connect/token' \ --header 'content-type: application/x-www-form-urlencoded' \ --data grant_type=client_credentials \ --data client_id=<KeyId> \ --data client_secret=<Secret>
Replace the
<KeyId>
and
<Secret>
strings with the ID and the secret of one of the keys that were created for the service account.

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.

  • 보고 있는 페이지
    • Bearer token authentication

      • Example


이 페이지의 문제 보고