ドキュメント

​
​

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 分
最終更新 11日前

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


このページの問題を報告する