github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/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 namespacecs 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.
    15  
    16  - `-ca-cert=<path>`: Path to a PEM encoded CA cert file to use to verify the
    17    Nomad server SSL certificate. Overrides the `NOMAD_CACERT` environment
    18    variable if set.
    19  
    20  - `-ca-path=<path>`: Path to a directory of PEM encoded CA cert files to verify
    21    the Nomad server SSL certificate. If both `-ca-cert` and `-ca-path` are
    22    specified, `-ca-cert` is used. Overrides the `NOMAD_CAPATH` environment
    23    variable if set.
    24  
    25  - `-client-cert=<path>`: Path to a PEM encoded client certificate for TLS
    26    authentication to the Nomad server. Must also specify `-client-key`. Overrides
    27    the `NOMAD_CLIENT_CERT` environment variable if set.
    28  
    29  - `-client-key=<path>`: Path to an unencrypted PEM encoded private key matching
    30    the client certificate from `-client-cert`. Overrides the `NOMAD_CLIENT_KEY`
    31    environment variable if set.
    32  
    33  - `-tls-server-name=<value>`: The server name to use as the SNI host when connecting
    34    via TLS. Overrides the `NOMAD_TLS_SERVER_NAME` environment variable if set.
    35  
    36  - `-tls-skip-verify`: Do not verify TLS certificate. This is highly not
    37    recommended. Verification will also be skipped if `NOMAD_SKIP_VERIFY` is set.
    38  
    39  - `-token`: The SecretID of an ACL token to use to authenticate API requests with.
    40    Overrides the `NOMAD_TOKEN` environment variable if set.