File tree Expand file tree Collapse file tree 14 files changed +19
-19
lines changed Expand file tree Collapse file tree 14 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
5555 Example : examples .Build (
5656 examples .NewExample (
5757 `Create a Symmetric KMS key` ,
58- `$ stackit beta kms key create --key-ring "my-keyring-id " --algorithm "rsa_2048_oaep_sha256" --name "my-key-name" --purpose "asymmetric_encrypt_decrypt" --protection "software"` ),
58+ `$ stackit beta kms key create --key-ring-id "XXX " --algorithm "rsa_2048_oaep_sha256" --name "my-key-name" --purpose "asymmetric_encrypt_decrypt" --protection "software"` ),
5959 examples .NewExample (
6060 `Create a Message Authentication KMS key` ,
61- `$ stackit beta kms key create --key-ring "my-keyring-id " --algorithm "hmac_sha512" --name "my-key-name" --purpose "message_authentication_code" --protection "software"` ),
61+ `$ stackit beta kms key create --key-ring-id "XXX " --algorithm "hmac_sha512" --name "my-key-name" --purpose "message_authentication_code" --protection "software"` ),
6262 ),
6363 RunE : func (cmd * cobra.Command , _ []string ) error {
6464 ctx := context .Background ()
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
4242 Example : examples .Build (
4343 examples .NewExample (
4444 `Delete a KMS key "my-key-id" inside the key ring "my-key-ring-id"` ,
45- `$ stackit beta kms key delete "my-key-id" --key-ring "my-key-ring-id"` ),
45+ `$ stackit beta kms key delete "my-key-id" --key-ring-id "my-key-ring-id"` ),
4646 ),
4747 RunE : func (cmd * cobra.Command , args []string ) error {
4848 ctx := context .Background ()
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import (
1717func NewCmd (params * params.CmdParams ) * cobra.Command {
1818 cmd := & cobra.Command {
1919 Use : "key" ,
20- Short : "Manage KMS Keys " ,
20+ Short : "Manage KMS keys " ,
2121 Long : "Provides functionality for key operations inside the KMS" ,
2222 Args : args .NoArgs ,
2323 Run : utils .CmdHelp ,
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
3838 Example : examples .Build (
3939 examples .NewExample (
4040 `List all KMS keys for the key ring "my-key-ring-id"` ,
41- `$ stackit beta kms key list --key-ring "my-key-ring-id"` ),
41+ `$ stackit beta kms key list --key-ring-id "my-key-ring-id"` ),
4242 examples .NewExample (
4343 `List all KMS keys in JSON format` ,
44- `$ stackit beta kms key list --key-ring "my-key-ring-id" --output-format json` ),
44+ `$ stackit beta kms key list --key-ring-id "my-key-ring-id" --output-format json` ),
4545 ),
4646 RunE : func (cmd * cobra.Command , _ []string ) error {
4747 ctx := context .Background ()
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
4242 Example : examples .Build (
4343 examples .NewExample (
4444 `Restore a KMS key "my-key-id" inside the key ring "my-key-ring-id" that was scheduled for deletion.` ,
45- `$ stackit beta kms keyring restore "my-key-id" --key-ring "my-key-ring-id"` ),
45+ `$ stackit beta kms keyring restore "my-key-id" --key-ring-id "my-key-ring-id"` ),
4646 ),
4747 RunE : func (cmd * cobra.Command , args []string ) error {
4848 ctx := context .Background ()
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
4242 Example : examples .Build (
4343 examples .NewExample (
4444 `Rotate a KMS key "my-key-id" and increase it's version inside the key ring "my-key-ring-id".` ,
45- `$ stackit beta kms key rotate "my-key-id" --key-ring "my-key-ring-id"` ),
45+ `$ stackit beta kms key rotate "my-key-id" --key-ring-id "my-key-ring-id"` ),
4646 ),
4747 RunE : func (cmd * cobra.Command , args []string ) error {
4848 ctx := context .Background ()
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
4343 Example : examples .Build (
4444 examples .NewExample (
4545 `Destroy key version "42" for the key "my-key-id" inside the key ring "my-key-ring-id"` ,
46- `$ stackit beta kms version destroy 42 --key "my-key-id" --key-ring "my-key-ring-id"` ),
46+ `$ stackit beta kms version destroy 42 --key "my-key-id" --key-ring-id "my-key-ring-id"` ),
4747 ),
4848 RunE : func (cmd * cobra.Command , args []string ) error {
4949 ctx := context .Background ()
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
4343 Example : examples .Build (
4444 examples .NewExample (
4545 `Disable key version "42" for the key "my-key-id" inside the key ring "my-key-ring-id"` ,
46- `$ stackit beta kms version disable 42 --key "my-key-id" --key-ring "my-key-ring-id"` ),
46+ `$ stackit beta kms version disable 42 --key "my-key-id" --key-ring-id "my-key-ring-id"` ),
4747 ),
4848 RunE : func (cmd * cobra.Command , args []string ) error {
4949 ctx := context .Background ()
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
4545 Example : examples .Build (
4646 examples .NewExample (
4747 `Enable key version "42" for the key "my-key-id" inside the key ring "my-key-ring-id"` ,
48- `$ stackit beta kms version enable 42 --key "my-key-id" --key-ring "my-key-ring-id"` ),
48+ `$ stackit beta kms version enable 42 --key "my-key-id" --key-ring-id "my-key-ring-id"` ),
4949 ),
5050 RunE : func (cmd * cobra.Command , args []string ) error {
5151 ctx := context .Background ()
Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
4040 Example : examples .Build (
4141 examples .NewExample (
4242 `List all key versions for the key "my-key-id" inside the key ring "my-key-ring-id"` ,
43- `$ stackit beta kms version list --key "my-key-id" --key-ring "my-key-ring-id"` ),
43+ `$ stackit beta kms version list --key "my-key-id" --key-ring-id "my-key-ring-id"` ),
4444 examples .NewExample (
4545 `List all key versions in JSON format` ,
46- `$ stackit beta kms version list --key "my-key-id" --key-ring "my-key-ring-id" -o json` ),
46+ `$ stackit beta kms version list --key "my-key-id" --key-ring-id "my-key-ring-id" -o json` ),
4747 ),
4848 RunE : func (cmd * cobra.Command , _ []string ) error {
4949 ctx := context .Background ()
You can’t perform that action at this time.
0 commit comments