ドキュメント

Unity Gaming Services CLI


GitHub Repository

Unity Gaming Services CLI


Configuration Keys

Reference the configuration keys and environment variables you can set for the CLI.
読み終わるまでの所要時間 1 分最終更新 4日前

The table below describes the keys that can be
set
or
get
from local configuration, and the environment variable keys.

ConfigKey

EnvironmentKey

Meaning

project-id
UGS_CLI_PROJECT_ID
The ID of the cloud project.
environment-name
UGS_CLI_ENVIRONMENT_NAME
Current config environment name for the project.
n/a
UGS_CLI_SERVICE_KEY_ID
Service key ID for service account authentication (requires service secret key).
n/a
UGS_CLI_SERVICE_SECRET_KEY
Service secret key for service account authentication (requires service key ID).
n/a
UGS_CLI_TELEMETRY_DISABLED
Disables sending telemetry when set.
n/a
UGS_CLI_USE_HUB_AUTH
Uses Unity Hub authentication when set to
true
.
n/a
UGS_CLI_CONFIG_DIR
Overrides the directory where the CLI stores its configuration.

Priority

When a value is set in more than one place, the CLI uses the first one found:
command options
>
environment variables
>
local configuration
For example,
UGS_CLI_PROJECT_ID
overrides a
project-id
saved with
ugs config set
, and
--project-id
overrides both.