Skip to content

Commit 3939539

Browse files
s-interrubenhoenle
authored andcommitted
feat(secrets-manager): add docs
1 parent 5a4e11d commit 3939539

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

docs/stackit_secrets-manager_instance_create.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,21 @@ stackit secrets-manager instance create [flags]
1818
1919
Create a Secrets Manager instance with name "my-instance" and specify IP range which is allowed to access it
2020
$ stackit secrets-manager instance create --name my-instance --acl 1.2.3.0/24
21+
22+
Create a Secrets Manager instance with name "my-instance" and configure KMS key options
23+
$ 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
2124
```
2225

2326
### Options
2427

2528
```
26-
--acl strings List of IP networks in CIDR notation which are allowed to access this instance (default [])
27-
-h, --help Help for "stackit secrets-manager instance create"
28-
-n, --name string Instance name
29+
--acl strings List of IP networks in CIDR notation which are allowed to access this instance (default [])
30+
-h, --help Help for "stackit secrets-manager instance create"
31+
--kms-key-id string ID of the KMS key to use for encryption
32+
--kms-key-version int Version of the KMS key
33+
--kms-keyring-id string ID of the KMS key ring
34+
--kms-service-account-email string Service account email for KMS access
35+
-n, --name string Instance name
2936
```
3037

3138
### Options inherited from parent commands

docs/stackit_secrets-manager_instance_update.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,20 @@ stackit secrets-manager instance update INSTANCE_ID [flags]
1515
```
1616
Update the range of IPs allowed to access a Secrets Manager instance with ID "xxx"
1717
$ stackit secrets-manager instance update xxx --acl 1.2.3.0/24
18+
19+
Update the KMS key settings of a Secrets Manager instance with ID "xxx"
20+
$ 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
1821
```
1922

2023
### Options
2124

2225
```
23-
--acl strings List of IP networks in CIDR notation which are allowed to access this instance (default [])
24-
-h, --help Help for "stackit secrets-manager instance update"
26+
--acl strings List of IP networks in CIDR notation which are allowed to access this instance (default [])
27+
-h, --help Help for "stackit secrets-manager instance update"
28+
--kms-key-id string ID of the KMS key to use for encryption
29+
--kms-key-version int Version of the KMS key
30+
--kms-keyring-id string ID of the KMS key ring
31+
--kms-service-account-email string Service account email for KMS access
2532
```
2633

2734
### Options inherited from parent commands

0 commit comments

Comments
 (0)