File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
internal/cmd/beta/kms/version Expand file tree Collapse file tree 5 files changed +6
-6
lines changed 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-id "my-key-ring-id"` ),
46+ `$ stackit beta kms version destroy 42 --key-id "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-id "my-key-ring-id"` ),
46+ `$ stackit beta kms version disable 42 --key-id "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-id "my-key-ring-id"` ),
48+ `$ stackit beta kms version enable 42 --key-id "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-id "my-key-ring-id"` ),
43+ `$ stackit beta kms version list --key-id "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-id "my-key-ring-id" -o json` ),
46+ `$ stackit beta kms version list --key-id "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 ()
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 `Restore key version "42" for the key "my-key-id" inside the key ring "my-key-ring-id"` ,
46- `$ stackit beta kms version restore 42 --key "my-key-id" --key-ring-id "my-key-ring-id"` ),
46+ `$ stackit beta kms version restore 42 --key-id "my-key-id" --key-ring-id "my-key-ring-id"` ),
4747 ),
4848 RunE : func (cmd * cobra.Command , args []string ) error {
4949 ctx := context .Background ()
You can’t perform that action at this time.
0 commit comments