Skip to content

Commit de6aba7

Browse files
author
Jan Sternagel
committed
Fix more spelling mistakes
1 parent 53845d3 commit de6aba7

File tree

18 files changed

+29
-29
lines changed

18 files changed

+29
-29
lines changed

docs/stackit_beta_kms_key_delete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ stackit beta kms key delete KEY_ID [flags]
2121

2222
```
2323
-h, --help Help for "stackit beta kms key delete"
24-
--keyring-id string ID of the KMS Key Ring where the Key is stored
24+
--keyring-id string ID of the KMS key ring where the key is stored
2525
```
2626

2727
### Options inherited from parent commands

docs/stackit_beta_kms_key_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ stackit beta kms key list [flags]
2424

2525
```
2626
-h, --help Help for "stackit beta kms key list"
27-
--keyring-id string ID of the KMS Key Ring where the Key is stored
27+
--keyring-id string ID of the KMS key ring where the key is stored
2828
```
2929

3030
### Options inherited from parent commands

docs/stackit_beta_kms_key_restore.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Restore a key
44

55
### Synopsis
66

7-
Restores the given key from being deleted.
7+
Restores the given key from deletion.
88

99
```
1010
stackit beta kms key restore KEY_ID [flags]
@@ -14,14 +14,14 @@ stackit beta kms key restore KEY_ID [flags]
1414

1515
```
1616
Restore a KMS key "MY_KEY_ID" inside the key ring "MY_KEYRING_ID" that was scheduled for deletion.
17-
$ stackit beta kms keyring restore "MY_KEY_ID" --keyring-id "MY_KEYRING_ID"
17+
$ stackit beta kms key restore "MY_KEY_ID" --keyring-id "MY_KEYRING_ID"
1818
```
1919

2020
### Options
2121

2222
```
2323
-h, --help Help for "stackit beta kms key restore"
24-
--keyring-id string ID of the KMS Key Ring where the Key is stored
24+
--keyring-id string ID of the KMS key ring where the key is stored
2525
```
2626

2727
### Options inherited from parent commands

docs/stackit_beta_kms_key_rotate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ stackit beta kms key rotate KEY_ID [flags]
1313
### Examples
1414

1515
```
16-
Rotate a KMS key "MY_KEY_ID" and increase it's version inside the key ring "MY_KEYRING_ID".
16+
Rotate a KMS key "MY_KEY_ID" and increase its version inside the key ring "MY_KEYRING_ID".
1717
$ stackit beta kms key rotate "MY_KEY_ID" --keyring-id "MY_KEYRING_ID"
1818
```
1919

2020
### Options
2121

2222
```
2323
-h, --help Help for "stackit beta kms key rotate"
24-
--keyring-id string ID of the KMS key Ring where the key is stored
24+
--keyring-id string ID of the KMS key ring where the key is stored
2525
```
2626

2727
### Options inherited from parent commands

docs/stackit_beta_kms_version_restore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Restore a key version
44

55
### Synopsis
66

7-
Restores the specified version of key.
7+
Restores the specified version of a key.
88

99
```
1010
stackit beta kms version restore VERSION_NUMBER [flags]

docs/stackit_beta_kms_wrapping-key_create.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ stackit beta kms wrapping-key create [flags]
1313
### Examples
1414

1515
```
16-
Create a symmetric (RSA + AES) KMS wrapping key with name "my-wrapping-key-name" in keyring with ID "MY_KEYRING_ID"
16+
Create a symmetric (RSA + AES) KMS wrapping key with name "my-wrapping-key-name" in key ring with ID "MY_KEYRING_ID"
1717
$ stackit beta kms wrapping-key create --keyring-id "MY_KEYRING_ID" --algorithm "rsa_2048_oaep_sha256_aes_256_key_wrap" --name "my-wrapping-key-name" --purpose "wrap_symmetric_key" --protection "software"
1818
19-
Create an asymmetric (RSA) KMS wrapping key with name "my-wrapping-key-name" in keyring with ID "MY_KEYRING_ID"
19+
Create an asymmetric (RSA) KMS wrapping key with name "my-wrapping-key-name" in key ring with ID "MY_KEYRING_ID"
2020
$ stackit beta kms wrapping-key create --keyring-id "MY_KEYRING_ID" --algorithm "rsa_3072_oaep_sha256" --name "my-wrapping-key-name" --purpose "wrap_asymmetric_key" --protection "software"
2121
```
2222

docs/stackit_beta_kms_wrapping-key_list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ stackit beta kms wrapping-key list [flags]
1717
$ stackit beta kms wrapping-key list --keyring-id "MY_KEYRING_ID"
1818
1919
List all KMS wrapping keys in JSON format
20-
$ stackit beta kms wrappingkeys list --keyring-id "MY_KEYRING_ID" --output-format json
20+
$ stackit beta kms wrapping-key list --keyring-id "MY_KEYRING_ID" --output-format json
2121
```
2222

2323
### Options
2424

2525
```
2626
-h, --help Help for "stackit beta kms wrapping-key list"
27-
--keyring-id string ID of the KMS Key Ring where the Key is stored
27+
--keyring-id string ID of the KMS key ring where the key is stored
2828
```
2929

3030
### Options inherited from parent commands

internal/cmd/beta/kms/key/delete/delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func buildRequest(ctx context.Context, model *inputModel, apiClient *kms.APIClie
117117
}
118118

119119
func configureFlags(cmd *cobra.Command) {
120-
cmd.Flags().Var(flags.UUIDFlag(), keyRingIdFlag, "ID of the KMS Key Ring where the Key is stored")
120+
cmd.Flags().Var(flags.UUIDFlag(), keyRingIdFlag, "ID of the KMS key ring where the key is stored")
121121

122122
err := flags.MarkFlagsRequired(cmd, keyRingIdFlag)
123123
cobra.CheckErr(err)

internal/cmd/beta/kms/key/list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func buildRequest(ctx context.Context, model *inputModel, apiClient *kms.APIClie
9292
}
9393

9494
func configureFlags(cmd *cobra.Command) {
95-
cmd.Flags().Var(flags.UUIDFlag(), keyRingIdFlag, "ID of the KMS Key Ring where the Key is stored")
95+
cmd.Flags().Var(flags.UUIDFlag(), keyRingIdFlag, "ID of the KMS key ring where the key is stored")
9696

9797
err := flags.MarkFlagsRequired(cmd, keyRingIdFlag)
9898
cobra.CheckErr(err)

internal/cmd/beta/kms/key/restore/restore.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
3737
cmd := &cobra.Command{
3838
Use: fmt.Sprintf("restore %s", keyIdArg),
3939
Short: "Restore a key",
40-
Long: "Restores the given key from being deleted.",
40+
Long: "Restores the given key from deletion.",
4141
Args: args.SingleArg(keyIdArg, utils.ValidateUUID),
4242
Example: examples.Build(
4343
examples.NewExample(
4444
`Restore a KMS key "MY_KEY_ID" inside the key ring "MY_KEYRING_ID" that was scheduled for deletion.`,
45-
`$ stackit beta kms keyring restore "MY_KEY_ID" --keyring-id "MY_KEYRING_ID"`),
45+
`$ stackit beta kms key restore "MY_KEY_ID" --keyring-id "MY_KEYRING_ID"`),
4646
),
4747
RunE: func(cmd *cobra.Command, args []string) error {
4848
ctx := context.Background()
@@ -116,7 +116,7 @@ func buildRequest(ctx context.Context, model *inputModel, apiClient *kms.APIClie
116116
}
117117

118118
func configureFlags(cmd *cobra.Command) {
119-
cmd.Flags().Var(flags.UUIDFlag(), keyRingIdFlag, "ID of the KMS Key Ring where the Key is stored")
119+
cmd.Flags().Var(flags.UUIDFlag(), keyRingIdFlag, "ID of the KMS key ring where the key is stored")
120120

121121
err := flags.MarkFlagsRequired(cmd, keyRingIdFlag)
122122
cobra.CheckErr(err)

0 commit comments

Comments
 (0)