ドキュメント

​
​

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
  • Security
  • vpctl
    • vpctl Architecture
    • Installation
    • Manifest reference
    • vpctl commands
      • Artifact
      • Cluster
      • Configure
      • Manifest
      • Release
      • Secret
    • Troubleshooting
    • Changelog
  1. Self-Hosted Deployment (previously called Unity Virtual Private Cloud)
  2. vpctl command-line tool
  3. vpctl command reference

vpctl secret commands

Generate and deploy Kubernetes Secret manifests from a secrets.import.yaml input
読み終わるまでの所要時間 2 分
最終更新 12日前

Use the
secret
command group to render Kubernetes
Secret
manifests from your import file and apply them to your cluster.

Generate secrets

Create Kubernetes secret YAML files from your secret definitions. For the import file format, refer to
secrets.import.example.yaml
which is shipped in the release package.
vpctl secret generate --import secrets.import.yaml --use-defaults
Parameters:
  • --import
    : Path to the secrets import file. See
    secrets.import.example.yaml
    for the format.
  • --use-defaults
    : Use default values or auto-generate values without prompts (non-interactive mode). If a required field has no default or auto-generate option, the tool writes
    TBD
    and logs a warning so you can update it before deployment.
  • --output
    : Output file path (defaults to
    secrets.yaml
    ).
  • --name
    : Generate only the specified secret by name.
  • --extracted-release
    : Path to the extracted release directory (defaults to
    ./extracted-release
    ).
  • --clean-output
    : Clear the output file before generating (default: false).
  • --skip-version-check
    : Skip the vpctl version compatibility check against the release package.
  • --persist <path>
    : Save generated values to an import-format file at
    <path>
    for reuse in subsequent runs. The path is required and has no default: in vpctl 0.11.0 and newer, passing the bare flag exits with an error. On later runs, the tool loads the persisted file and reuses existing values without regenerating them.
Example:
vpctl secret generate --import secrets.import.yaml --use-defaults --output ./generated-secrets.yaml

Deploy secrets to Kubernetes

Apply the generated secrets to your Kubernetes cluster:
vpctl secret deploy
Common options:
  • --file
    : Path to the secrets YAML file (defaults to
    secrets.yaml
    ).
  • --dry-run
    : Preview the kubectl command without executing it.
  • --context
    : Kubernetes context to use.
  • --namespace
    : Kubernetes namespace (overrides the namespace in the secret YAML).
Example:
vpctl secret deploy --file ./generated-secrets.yaml --namespace production --dry-run

Copyright © 2026 Unity Technologies
法規事項プライバシーポリシークッキーDocumentation Terms of Use私の個人情報を販売または共有しないプライバシーに関する選択 (クッキー設定)

"Unity" の名称、Unity のロゴ、およびその他の Unity の商標は、米国およびその他の国における Unity Technologies またはその関係会社の商標または登録商標です (詳しくはこちら)。その他の名称またはブランドは該当する所有者の商標です。

一部のページは利便性向上のため機械翻訳を使用しており、内容に不正確な表現が含まれる場合があります。内容に齟齬または不一致が生じた場合は、英語版を正本とします。

  • このページ
    • Generate secrets

    • Deploy secrets to Kubernetes


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