Skip to content

Commit fead314

Browse files
committed
docs: add service account jwt creation command
1 parent d5ed704 commit fead314

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

docs/30_commands.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ Available flags for the command:
128128

129129
## serviceaccount
130130

131-
### create
131+
### create basic
132132

133-
The `serviceaccount create` subcommand allows you to create a new service account for your company.
133+
The `serviceaccount create basic` subcommand allows you to create a new service account for your company.
134134

135135
Usage:
136136

@@ -146,3 +146,24 @@ Available flags for the command:
146146
- `--context`, to specify a different context from the currently selected one
147147
- `--company-id`, to set the ID of the desired company
148148
- `--role`, the company role for the service account
149+
150+
### create jwt
151+
152+
The `serviceaccount create jwt` subcommand allows you to create a new service account for your company that will
153+
use the jwt authorization method.
154+
155+
Usage:
156+
157+
```sh
158+
miactl serviceaccount create jwt NAME [flags]
159+
```
160+
161+
Available flags for the command:
162+
163+
- `--endpoint`, to set the Console endpoint (default is `https://console.cloud.mia-platform.eu`)
164+
- `--certificate-authority`, to provide the path to a custom CA certificate
165+
- `--insecure-skip-tls-verify`, to disallow the check the validity of the certificate of the remote endpoint
166+
- `--context`, to specify a different context from the currently selected one
167+
- `--company-id`, to set the ID of the desired company
168+
- `--output`, optional flag to save the service account json description in a file at the provided path
169+
- `--role`, the company role for the service account

0 commit comments

Comments
 (0)