targets add-host-sources

targets add-host-sources

targets add-host-sources 명령은 대상 리소스에 호스트 소스를 추가해요.

출처: HashiCorp Boundary docs

본문

예시

이 예시는 ID가 ttcp_1234567890인 TCP 대상에 호스트 소스 hsst_1234567890과 hsst_0987654321을 추가해요.

$ boundary targets add-host-sources -id ttcp_1234567890 -host-source hsst_1234567890 -host-source hsst_0987654321

사용법 (Usage)

$ boundary targets add-host-sources [options] [args]

명령 옵션 (Command options)

  • -host-source=<string> — 추가할 호스트 소스예요. 여러 호스트 소스를 지정할 수 있어요.
  • -id=<string> — 호스트 소스를 추가할 대상의 ID예요.
  • -version=<int> — 작업을 수행할 대상의 버전이에요. 버전을 지정하지 않으면 명령이 check-and-set을 자동으로 수행해요.

CLI 옵션 (CLI options)

명령별 옵션 외에, 모든 CLI 명령과 하위 명령에 공통으로 적용되는 옵션들이 있어요.

  • 연결 옵션 (Connection options)
  • 클라이언트 옵션 (Client options)
  • 출력 옵션 (Output options)
  • 환경 변수 (Environment variables)

더 알아보기 (Learn more)