기술 자료

​
​

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분
최근 업데이트: 8일 전

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


이 페이지의 문제 보고