Yorc Command Line Interface

You can interact with a Yorc server using a command line interface (CLI). The same binary as for running a Yorc server is used for the CLI.

General Options

  • --yorc-api: Specifies the host and port used to join the Yorc’ REST API. Defaults to localhost:8800. Configuration entry yorc_api and env var YORC_API may also be used.
  • --no-color: Disable coloring output (By default coloring is enable).
  • -s or --secured: Use HTTPS to connect to the Yorc REST API
  • --ca-file: This provides a file path to a PEM-encoded certificate authority. This implies the use of HTTPS to connect to the Yorc REST API.
  • --skip-tls-verify: skip-tls-verify controls whether a client verifies the server’s certificate chain and host name. If set to true, TLS accepts any certificate presented by the server and any host name in that certificate. In this mode, TLS is susceptible to man-in-the-middle attacks. This should be used only for testing. This implies the use of HTTPS to connect to the Yorc REST API.