mirror of https://github.com/istio/istio.io.git
287 lines
9.1 KiB
HTML
287 lines
9.1 KiB
HTML
---
|
|
title: istio_ca
|
|
overview: Istio Certificate Authority (CA)
|
|
layout: pkg-collateral-docs
|
|
number_of_entries: 3
|
|
---
|
|
<p>Istio Certificate Authority (CA)</p>
|
|
<pre class="language-bash"><code>istio_ca [flags]
|
|
</code></pre>
|
|
<table class="command-flags">
|
|
<thead>
|
|
<th>Flags</th>
|
|
<th>Shorthand</th>
|
|
<th>Description</th>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><code>--alsologtostderr</code></td>
|
|
<td></td>
|
|
<td>log to standard error as well as files </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--ca-cert-ttl <duration></code></td>
|
|
<td></td>
|
|
<td>The TTL of self-signed CA root certificate (default `8760h0m0s`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--cert-chain <string></code></td>
|
|
<td></td>
|
|
<td>Speicifies path to the certificate chain file (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--grpc-hostname <string></code></td>
|
|
<td></td>
|
|
<td>Specifies the hostname for GRPC server. (default `localhost`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--grpc-port <int></code></td>
|
|
<td></td>
|
|
<td>Specifies the port number for GRPC server. If unspecified, Istio CA will not server GRPC request. (default `0`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--istio-ca-storage-namespace <string></code></td>
|
|
<td></td>
|
|
<td>Namespace where the Istio CA pods is running. Will not be used if explicit file or other storage mechanism is specified. (default `istio-system`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--kube-config <string></code></td>
|
|
<td></td>
|
|
<td>Specifies path to kubeconfig file. This must be specified when not running inside a Kubernetes pod. (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--livenessProbeInterval <duration></code></td>
|
|
<td></td>
|
|
<td>Interval of updating file for the liveness probe. (default `0s`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--livenessProbePath <string></code></td>
|
|
<td></td>
|
|
<td>Path to the file for the liveness probe. (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_as_json</code></td>
|
|
<td></td>
|
|
<td>Whether to format output as JSON or in plain console-friendly format </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_backtrace_at <traceLocation></code></td>
|
|
<td></td>
|
|
<td>when logging hits line file:N, emit a stack trace (default `:0`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_callers</code></td>
|
|
<td></td>
|
|
<td>Include caller information, useful for debugging </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_dir <string></code></td>
|
|
<td></td>
|
|
<td>If non-empty, write log files in this directory (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_output_level <string></code></td>
|
|
<td></td>
|
|
<td>The minimum logging level of messages to output, can be one of "debug", "info", "warn", "error", or "none" (default `info`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate <string></code></td>
|
|
<td></td>
|
|
<td>The path for the optional rotating log file (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate_max_age <int></code></td>
|
|
<td></td>
|
|
<td>The maximum age in days of a log file beyond which the file is rotated (0 indicates no limit) (default `30`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate_max_backups <int></code></td>
|
|
<td></td>
|
|
<td>The maximum number of log file backups to keep before older files are deleted (0 indicates no limit) (default `1000`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate_max_size <int></code></td>
|
|
<td></td>
|
|
<td>The maximum size in megabytes of a log file beyond which the file is rotated (default `104857600`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_stacktrace_level <string></code></td>
|
|
<td></td>
|
|
<td>The minimum logging level at which stack traces are captured, can be one of "debug", "info", "warn", "error", or "none" (default `none`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_target <stringArray></code></td>
|
|
<td></td>
|
|
<td>The set of paths where to output the log. This can be any path as well as the special values stdout and stderr (default `[stdout]`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--logtostderr</code></td>
|
|
<td></td>
|
|
<td>log to standard error instead of files </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--max-workload-cert-ttl <duration></code></td>
|
|
<td></td>
|
|
<td>The max TTL of issued workload certificates (default `168h0m0s`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--namespace <string></code></td>
|
|
<td></td>
|
|
<td>Select a namespace for the CA to listen to. If unspecified, Istio CA tries to use the ${NAMESPACE} environment variable. If neither is set, Istio CA listens to all namespaces. (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--root-cert <string></code></td>
|
|
<td></td>
|
|
<td>Specifies path to the root certificate file (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--self-signed-ca</code></td>
|
|
<td></td>
|
|
<td>Indicates whether to use auto-generated self-signed CA certificate. When set to true, the '--signing-cert' and '--signing-key' options are ignored. </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--self-signed-ca-org <string></code></td>
|
|
<td></td>
|
|
<td>The issuer organization used in self-signed CA certificate (default to k8s.cluster.local) (default `k8s.cluster.local`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--signing-cert <string></code></td>
|
|
<td></td>
|
|
<td>Specifies path to the CA signing certificate file (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--signing-key <string></code></td>
|
|
<td></td>
|
|
<td>Specifies path to the CA signing key file (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--stderrthreshold <severity></code></td>
|
|
<td></td>
|
|
<td>logs at or above this threshold go to stderr (default `2`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--v <Level></code></td>
|
|
<td><code>-v</code></td>
|
|
<td>log level for V logs (default `0`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--vmodule <moduleSpec></code></td>
|
|
<td></td>
|
|
<td>comma-separated list of pattern=N settings for file-filtered logging (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--workload-cert-grace-period-ratio <float32></code></td>
|
|
<td></td>
|
|
<td>The workload certificate rotation grace period, as a ratio of the workload certificate TTL. (default `0.5`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--workload-cert-min-grace-period <duration></code></td>
|
|
<td></td>
|
|
<td>The minimum workload certificate rotation grace period. (default `10m0s`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--workload-cert-ttl <duration></code></td>
|
|
<td></td>
|
|
<td>The TTL of issued workload certificates (default `19h0m0s`)</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h2 id="istio_ca version">istio_ca version</h2>
|
|
<p>Prints out build version information</p>
|
|
<pre class="language-bash"><code>istio_ca version [flags]
|
|
</code></pre>
|
|
<table class="command-flags">
|
|
<thead>
|
|
<th>Flags</th>
|
|
<th>Shorthand</th>
|
|
<th>Description</th>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><code>--alsologtostderr</code></td>
|
|
<td></td>
|
|
<td>log to standard error as well as files </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_as_json</code></td>
|
|
<td></td>
|
|
<td>Whether to format output as JSON or in plain console-friendly format </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_backtrace_at <traceLocation></code></td>
|
|
<td></td>
|
|
<td>when logging hits line file:N, emit a stack trace (default `:0`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_callers</code></td>
|
|
<td></td>
|
|
<td>Include caller information, useful for debugging </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_dir <string></code></td>
|
|
<td></td>
|
|
<td>If non-empty, write log files in this directory (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_output_level <string></code></td>
|
|
<td></td>
|
|
<td>The minimum logging level of messages to output, can be one of "debug", "info", "warn", "error", or "none" (default `info`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate <string></code></td>
|
|
<td></td>
|
|
<td>The path for the optional rotating log file (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate_max_age <int></code></td>
|
|
<td></td>
|
|
<td>The maximum age in days of a log file beyond which the file is rotated (0 indicates no limit) (default `30`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate_max_backups <int></code></td>
|
|
<td></td>
|
|
<td>The maximum number of log file backups to keep before older files are deleted (0 indicates no limit) (default `1000`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate_max_size <int></code></td>
|
|
<td></td>
|
|
<td>The maximum size in megabytes of a log file beyond which the file is rotated (default `104857600`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_stacktrace_level <string></code></td>
|
|
<td></td>
|
|
<td>The minimum logging level at which stack traces are captured, can be one of "debug", "info", "warn", "error", or "none" (default `none`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_target <stringArray></code></td>
|
|
<td></td>
|
|
<td>The set of paths where to output the log. This can be any path as well as the special values stdout and stderr (default `[stdout]`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--logtostderr</code></td>
|
|
<td></td>
|
|
<td>log to standard error instead of files </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--short</code></td>
|
|
<td><code>-s</code></td>
|
|
<td>Displays a short form of the version information </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--stderrthreshold <severity></code></td>
|
|
<td></td>
|
|
<td>logs at or above this threshold go to stderr (default `2`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--v <Level></code></td>
|
|
<td><code>-v</code></td>
|
|
<td>log level for V logs (default `0`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--vmodule <moduleSpec></code></td>
|
|
<td></td>
|
|
<td>comma-separated list of pattern=N settings for file-filtered logging (default ``)</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|