Update CLI docs for v0.7.0 release

This commit is contained in:
Pinny 2021-04-01 19:15:23 +00:00
parent 44bf925c3e
commit 7b82b7a010

View File

@ -10,98 +10,108 @@ menu:
parent: reference parent: reference
--- ---
## `pinniped version` ## pinniped get kubeconfig
Print the version of this Pinniped CLI. Generate a Pinniped-based kubeconfig for a cluster
```sh
pinniped version [flags]
``` ```
- `-h`, `--help`:
help for kubeconfig
## `pinniped get kubeconfig`
Generate a Pinniped-based kubeconfig for a cluster.
```sh
pinniped get kubeconfig [flags] pinniped get kubeconfig [flags]
``` ```
- `-h`, `--help`: ### Options
help for kubeconfig ```
- `--concierge-api-group-suffix string`: --concierge-api-group-suffix string Concierge API group suffix (default "pinniped.dev")
--concierge-authenticator-name string Concierge authenticator name (default: autodiscover)
--concierge-authenticator-type string Concierge authenticator type (e.g., 'webhook', 'jwt') (default: autodiscover)
--concierge-ca-bundle path Path to TLS certificate authority bundle (PEM format, optional, can be repeated) to use when connecting to the Concierge
--concierge-credential-issuer string Concierge CredentialIssuer object to use for autodiscovery (default: autodiscover)
--concierge-endpoint string API base for the Concierge endpoint
--concierge-mode mode Concierge mode of operation (default TokenCredentialRequestAPI)
--concierge-skip-wait Skip waiting for any pending Concierge strategies to become ready (default: false)
-h, --help help for kubeconfig
--kubeconfig string Path to kubeconfig file
--kubeconfig-context string Kubeconfig context name (default: current active context)
--no-concierge Generate a configuration which does not use the Concierge, but sends the credential to the cluster directly
--oidc-ca-bundle path Path to TLS certificate authority bundle (PEM format, optional, can be repeated)
--oidc-client-id string OpenID Connect client ID (default: autodiscover) (default "pinniped-cli")
--oidc-issuer string OpenID Connect issuer URL (default: autodiscover)
--oidc-listen-port uint16 TCP port for localhost listener (authorization code flow only)
--oidc-request-audience string Request a token with an alternate audience using RFC8693 token exchange
--oidc-scopes strings OpenID Connect scopes to request during login (default [offline_access,openid,pinniped:request-audience])
--oidc-session-cache string Path to OpenID Connect session cache file
--oidc-skip-browser During OpenID Connect login, skip opening the browser (just print the URL)
-o, --output string Output file path (default: stdout)
--skip-validation Skip final validation of the kubeconfig (default: false)
--static-token string Instead of doing an OIDC-based login, specify a static token
--static-token-env string Instead of doing an OIDC-based login, read a static token from the environment
--timeout duration Timeout for autodiscovery and validation (default 10m0s)
```
Concierge API group suffix (default "pinniped.dev") ### SEE ALSO
- `--concierge-authenticator-name string`:
Concierge authenticator name (default: autodiscover) * [pinniped get]() - get
- `--concierge-authenticator-type string`:
Concierge authenticator type (e.g., 'webhook', 'jwt') (default: autodiscover) ## pinniped help
- `--concierge-ca-bundle path`:
Path to TLS certificate authority bundle (PEM format, optional, can be repeated) to use when connecting to the Concierge Help about any command
- `--concierge-credential-issuer string`:
Concierge CredentialIssuer object to use for autodiscovery (default: autodiscover) ### Synopsis
- `--concierge-endpoint string`:
API base for the Concierge endpoint Help provides help for any command in the application.
- `--concierge-mode mode`: Simply type pinniped help [path to command] for full details.
Concierge mode of operation (default TokenCredentialRequestAPI) ```
- `--concierge-skip-wait`: pinniped help [command] [flags]
```
Skip waiting for any pending Concierge strategies to become ready (default: false) ### Options
- `--kubeconfig string`:
Path to kubeconfig file ```
- `--kubeconfig-context string`: -h, --help help for help
```
Kubeconfig context name (default: current active context) ### SEE ALSO
- `--no-concierge`:
Generate a configuration which does not use the Concierge, but sends the credential to the cluster directly * [pinniped]() - pinniped
- `--oidc-ca-bundle path`:
Path to TLS certificate authority bundle (PEM format, optional, can be repeated) ## pinniped version
- `--oidc-client-id string`:
OpenID Connect client ID (default: autodiscover) (default "pinniped-cli") Print the version of this Pinniped CLI
- `--oidc-issuer string`:
OpenID Connect issuer URL (default: autodiscover) ```
- `--oidc-listen-port uint16`: pinniped version [flags]
```
TCP port for localhost listener (authorization code flow only) ### Options
- `--oidc-request-audience string`:
Request a token with an alternate audience using RFC8693 token exchange ```
- `--oidc-scopes strings`: -h, --help help for version
```
OpenID Connect scopes to request during login (default [offline_access,openid,pinniped:request-audience]) ### SEE ALSO
- `--oidc-session-cache string`:
Path to OpenID Connect session cache file * [pinniped]() - pinniped
- `--oidc-skip-browser`:
During OpenID Connect login, skip opening the browser (just print the URL) ## pinniped whoami
- `-o`, `--output string`:
Output file path (default: stdout) Print information about the current user
- `--skip-validation`:
Skip final validation of the kubeconfig (default: false) ```
- `--static-token string`: pinniped whoami [flags]
```
Instead of doing an OIDC-based login, specify a static token ### Options
- `--static-token-env string`:
Instead of doing an OIDC-based login, read a static token from the environment ```
- `--timeout duration`: --api-group-suffix string Concierge API group suffix (default "pinniped.dev")
-h, --help help for whoami
--kubeconfig string Path to kubeconfig file
--kubeconfig-context string Kubeconfig context name (default: current active context)
-o, --output string Output format (e.g., 'yaml', 'json', 'text') (default "text")
```
### SEE ALSO
* [pinniped]() - pinniped
Timeout for autodiscovery and validation (default 10m0s)