Skip to content

Commit 8c80f2d

Browse files
Update CLI documentation (#458)
Co-authored-by: EthanHeilman <274814+EthanHeilman@users.noreply.github.com>
1 parent 17baf94 commit 8c80f2d

File tree

10 files changed

+24
-23
lines changed

10 files changed

+24
-23
lines changed

docs/cli/opkssh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ opkssh [flags]
3838
* [opkssh readhome](opkssh_readhome.md) - Read the principal's home policy file
3939
* [opkssh verify](opkssh_verify.md) - Verify an SSH key (used by sshd AuthorizedKeysCommand)
4040

41-
###### Auto generated by spf13/cobra on 19-Jan-2026
41+
###### Auto generated by spf13/cobra on 21-Jan-2026

docs/cli/opkssh_add.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ opkssh add <principal> <email|sub|group> <issuer> [flags]
3636

3737
* [opkssh](opkssh.md) - SSH with OpenPubkey
3838

39-
###### Auto generated by spf13/cobra on 19-Jan-2026
39+
###### Auto generated by spf13/cobra on 21-Jan-2026

docs/cli/opkssh_audit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ opkssh audit [flags]
4242

4343
* [opkssh](opkssh.md) - SSH with OpenPubkey
4444

45-
###### Auto generated by spf13/cobra on 19-Jan-2026
45+
###### Auto generated by spf13/cobra on 21-Jan-2026

docs/cli/opkssh_client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ Interact with client configuration
1919
* [opkssh](opkssh.md) - SSH with OpenPubkey
2020
* [opkssh client provider](opkssh_client_provider.md) - Interact with provider configuration
2121

22-
###### Auto generated by spf13/cobra on 19-Jan-2026
22+
###### Auto generated by spf13/cobra on 21-Jan-2026

docs/cli/opkssh_client_provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ Interact with provider configuration
1919
* [opkssh client](opkssh_client.md) - Interact with client configuration
2020
* [opkssh client provider list](opkssh_client_provider_list.md) - List configured providers
2121

22-
###### Auto generated by spf13/cobra on 19-Jan-2026
22+
###### Auto generated by spf13/cobra on 21-Jan-2026

docs/cli/opkssh_client_provider_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ opkssh client provider list [flags]
2323

2424
* [opkssh client provider](opkssh_client_provider.md) - Interact with provider configuration
2525

26-
###### Auto generated by spf13/cobra on 19-Jan-2026
26+
###### Auto generated by spf13/cobra on 21-Jan-2026

docs/cli/opkssh_inspect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ opkssh inspect <path> [flags]
2222

2323
* [opkssh](opkssh.md) - SSH with OpenPubkey
2424

25-
###### Auto generated by spf13/cobra on 19-Jan-2026
25+
###### Auto generated by spf13/cobra on 21-Jan-2026

docs/cli/opkssh_login.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,24 @@ opkssh login [alias] [flags]
2828
### Options
2929

3030
```
31-
--auto-refresh Automatically refresh PK token after login
32-
--config-path string Path to the client config file. Default: ~/.opk/config.yml on linux and %APPDATA%\.opk\config.yml on windows
33-
--configure Apply changes to ssh config and create ~/.ssh/opkssh directory
34-
--create-config Creates a client config file if it does not exist
35-
--disable-browser-open Set this flag to disable opening the browser. Useful for choosing the browser you want to use
36-
-h, --help help for login
37-
-t, --key-type Key Type Type of key to generate (default ecdsa)
38-
--log-dir string Directory to write output logs
39-
--print-id-token Set this flag to print out the contents of the id_token. Useful for inspecting claims
40-
-p, --print-key Print private key and SSH cert instead of writing them to the filesystem
41-
-i, --private-key-file string Path where private keys is written
42-
--provider string OpenID Provider specification in the format: <issuer>,<client_id> or <issuer>,<client_id>,<client_secret> or <issuer>,<client_id>,<client_secret>,<scopes>
43-
--send-access-token Set this flag to send the Access Token as well as the PK Token in the SSH cert. The Access Token is used to call the userinfo endpoint to get claims not included in the ID Token
31+
--auto-refresh Automatically refresh PK token after login
32+
--config-path string Path to the client config file. Default: ~/.opk/config.yml on linux and %APPDATA%\.opk\config.yml on windows
33+
--configure Apply changes to ssh config and create ~/.ssh/opkssh directory
34+
--create-config Creates a client config file if it does not exist
35+
--disable-browser-open Set this flag to disable opening the browser. Useful for choosing the browser you want to use
36+
-h, --help help for login
37+
-t, --key-type Key Type Type of key to generate (default ecdsa)
38+
--log-dir string Directory to write output logs
39+
--print-id-token Set this flag to print out the contents of the id_token. Useful for inspecting claims
40+
-p, --print-key Print private key and SSH cert instead of writing them to the filesystem
41+
-i, --private-key-file string Path where private keys is written
42+
--provider string OpenID Provider specification in the format: <issuer>,<client_id> or <issuer>,<client_id>,<client_secret> or <issuer>,<client_id>,<client_secret>,<scopes>
43+
--remote-redirect-uri string Remote redirect URI used for non-localhost redirects. This is an advanced option for embedding opkssh in server-side logic.
44+
--send-access-token Set this flag to send the Access Token as well as the PK Token in the SSH cert. The Access Token is used to call the userinfo endpoint to get claims not included in the ID Token
4445
```
4546

4647
### SEE ALSO
4748

4849
* [opkssh](opkssh.md) - SSH with OpenPubkey
4950

50-
###### Auto generated by spf13/cobra on 19-Jan-2026
51+
###### Auto generated by spf13/cobra on 21-Jan-2026

docs/cli/opkssh_readhome.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ opkssh readhome <principal> [flags]
2929

3030
* [opkssh](opkssh.md) - SSH with OpenPubkey
3131

32-
###### Auto generated by spf13/cobra on 19-Jan-2026
32+
###### Auto generated by spf13/cobra on 21-Jan-2026

docs/cli/opkssh_verify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ opkssh verify <principal> <cert> <key_type> [flags]
5151

5252
* [opkssh](opkssh.md) - SSH with OpenPubkey
5353

54-
###### Auto generated by spf13/cobra on 19-Jan-2026
54+
###### Auto generated by spf13/cobra on 21-Jan-2026

0 commit comments

Comments
 (0)