기술 자료

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
    • Groups
    • Licensing
    • upc-cli tool
      • Running the upc-cli tool
      • Usage scenarios
    • Custom branding
  • Security
  • vpctl
  1. Self-Hosted Deployment (previously called Unity Virtual Private Cloud)
  2. Administration
  3. upc-cli tool

Running the upc-cli tool

Prepare your environment and run upc-cli.
읽는 시간 2분
최근 업데이트: 8일 전

The upc-cli tool runs as a one-shot pod inside the Kubernetes cluster hosting the target Self-Hosted Deployment environment. It's invoked with the
kubectl run
command and requires corresponding access to the cluster. The pod calls relevant in-cluster services directly and doesn't require authentication to the Self-Hosted Deployment services.

Prerequisites

To run upc-cli, you need:
  • kubectl
    configured for the target cluster hosting the Self-Hosted Deployment environment.
  • Permissions to run pods (through
    kubectl run
    ) in the namespace where the solution is deployed. By default, the namespace is
    asset-solutions
    .
  • An ACR pull secret already configured in the same namespace. The secret is usually created during deployment (with the name
    acr-unity-registry
    ), so no additional actions are required.
The administrator workstation needs only the standard
kubectl
tool.

Tool invocation

To run upc-cli, use the pattern shown here:
  • Everything before
    --
    is
    kubectl
    flags.
  • Everything after
    --
    is forwarded to the tool executed inside the pod.
  • An administrator should usually put relevant values only in the last line:
    <command-group> <command> [args...]
    .

Unix-based shell

To run in a Unix-based shell (Linux, MacOS, WSL on Windows, Git Bash on Windows):
kubectl run -it upc-cli --rm \ --image=uccmpprivatecloud.azurecr.io/docker/upc-cli:latest \ -n asset-solutions \ --restart=Never \ --overrides='{"spec":{"imagePullSecrets":[{"name":"acr-unity-registry"}]}}' \ -- \ --fqdn http://mini-usf:8080 \ --path-prefix="" \ --no-auth \ <command-group> <command> [args...]

Windows shell

All samples on this page work in a Unix-based shell. If you need to run the same natively in a Windows shell:
  • Use PowerShell 7.3 or newer. Don't use Windows PowerShell 5.x.
  • Replace line continuation characters (
    \
    ) with backticks (
    `
    ):
    kubectl run -it upc-cli --rm ` --image=uccmpprivatecloud.azurecr.io/docker/upc-cli:latest ` -n asset-solutions ` --restart=Never ` --overrides='{"spec":{"imagePullSecrets":[{"name":"acr-unity-registry"}]}}' ` -- ` --fqdn http://mini-usf:8080 ` --path-prefix="" ` --no-auth ` <command-group> <command> [args...]

Help

upc-cli also supports the
--help
switch:
kubectl run -it upc-cli --rm \ --image=uccmpprivatecloud.azurecr.io/docker/upc-cli:latest \ -n asset-solutions \ --restart=Never \ --overrides='{"spec":{"imagePullSecrets":[{"name":"acr-unity-registry"}]}}' \ -- \ --help

Example - list organizations

This example outputs information about the single organization created when deploying Self-Hosted Deployment:
kubectl run -it upc-cli --rm \ --image=uccmpprivatecloud.azurecr.io/docker/upc-cli:latest \ -n asset-solutions \ --restart=Never \ --overrides='{"spec":{"imagePullSecrets":[{"name":"acr-unity-registry"}]}}' \ -- \ --fqdn http://mini-usf:8080 \ --path-prefix="" \ --no-auth \ orgs list

Usage notes and recommendations

  • There is no authentication for intra-cluster calls performed by the tool. You therefore need to treat
    kubectl
    permissions on the solution namespace as the access boundary, and restrict them accordingly.
  • You don't need to enable verbose logging to troubleshoot failed HTTP calls. Failed calls print the full status code, URL, and the response body.

Next steps

Choose a use case:
  • Manage organization feature flags
  • Perform bulk user access management

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

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

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

  • 보고 있는 페이지
    • Prerequisites

    • Tool invocation

      • Unix-based shell

      • Windows shell

      • Help

    • Example - list organizations

    • Usage notes and recommendations

    • Next steps


이 페이지의 문제 보고
​
​