github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/partials/general_options.mdx (about)

     1  - `-address=<addr>`: The address of the Nomad server. Overrides the `NOMAD_ADDR`
     2    environment variable if set. Defaults to `http://127.0.0.1:4646`.
     3  
     4  - `-region=<region>`: The region of the Nomad server to forward commands to.
     5    Overrides the `NOMAD_REGION` environment variable if set. Defaults to the
     6    Agent's local region.
     7  
     8  - `-namespace=<namespace>`: The target namespace for queries and actions bound
     9    to a namespace. Overrides the `NOMAD_NAMESPACE` environment variable if set.
    10    If set to `'*'`, job and alloc subcommands query all namespaces authorized to
    11    user. Defaults to the "default" namespace.
    12  
    13  - `-no-color`: Disables colored command output. Alternatively,
    14    `NOMAD_CLI_NO_COLOR` may be set. This option takes precedence over
    15    `-force-color`.
    16  
    17  - `-force-color`: Forces colored command output. This can be used in cases where
    18    the usual terminal detection fails. Alternatively, `NOMAD_CLI_FORCE_COLOR`
    19    may be set. This option has no effect if `-no-color` is also used.
    20  
    21  - `-ca-cert=<path>`: Path to a PEM encoded CA cert file to use to verify the
    22    Nomad server SSL certificate. Overrides the `NOMAD_CACERT` environment
    23    variable if set.
    24  
    25  - `-ca-path=<path>`: Path to a directory of PEM encoded CA cert files to verify
    26    the Nomad server SSL certificate. If both `-ca-cert` and `-ca-path` are
    27    specified, `-ca-cert` is used. Overrides the `NOMAD_CAPATH` environment
    28    variable if set.
    29  
    30  - `-client-cert=<path>`: Path to a PEM encoded client certificate for TLS
    31    authentication to the Nomad server. Must also specify `-client-key`. Overrides
    32    the `NOMAD_CLIENT_CERT` environment variable if set.
    33  
    34  - `-client-key=<path>`: Path to an unencrypted PEM encoded private key matching
    35    the client certificate from `-client-cert`. Overrides the `NOMAD_CLIENT_KEY`
    36    environment variable if set.
    37  
    38  - `-tls-server-name=<value>`: The server name to use as the SNI host when connecting
    39    via TLS. Overrides the `NOMAD_TLS_SERVER_NAME` environment variable if set.
    40  
    41  - `-tls-skip-verify`: Do not verify TLS certificate. This is highly not
    42    recommended. Verification will also be skipped if `NOMAD_SKIP_VERIFY` is set.
    43  
    44  - `-token`: The SecretID of an ACL token to use to authenticate API requests with.
    45    Overrides the `NOMAD_TOKEN` environment variable if set.