File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
internal/cmd/secrets-manager/instance Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
5555 examples .NewExample (
5656 `Create a Secrets Manager instance with name "my-instance" and specify IP range which is allowed to access it` ,
5757 `$ stackit secrets-manager instance create --name my-instance --acl 1.2.3.0/24` ),
58+ examples .NewExample (
59+ `Create a Secrets Manager instance with name "my-instance" and configure KMS key options` ,
60+ `$ stackit secrets-manager instance create --name my-instance --kms-key-id key-id --kms-keyring-id keyring-id --kms-key-version 1 --kms-service-account-email my-service-account-1234567@sa.stackit.cloud` ),
5861 ),
5962 RunE : func (cmd * cobra.Command , args []string ) error {
6063 ctx := context .Background ()
Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
5454 examples .NewExample (
5555 `Update the range of IPs allowed to access a Secrets Manager instance with ID "xxx"` ,
5656 "$ stackit secrets-manager instance update xxx --acl 1.2.3.0/24" ),
57+ examples .NewExample (
58+ `Update the KMS key settings of a Secrets Manager instance with ID "xxx"` ,
59+ "$ stackit secrets-manager instance update xxx --kms-key-id key-id --kms-keyring-id keyring-id --kms-key-version 1 --kms-service-account-email my-service-account-1234567@sa.stackit.cloud" ),
5760 ),
5861 RunE : func (cmd * cobra.Command , args []string ) error {
5962 ctx := context .Background ()
You can’t perform that action at this time.
0 commit comments