feat(kms): add wrapping key resource and datasource (#1060)
relates to STACKITTPR-416
This commit is contained in:
parent
5e8c7a7369
commit
7709986560
13 changed files with 1395 additions and 2 deletions
|
|
@ -0,0 +1,5 @@
|
|||
data "stackit_kms_wrapping_key" "example" {
|
||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
keyring_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
wrapping_key_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
resource "stackit_kms_keyring" "example" {
|
||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
display_name = "example name"
|
||||
display_name = "example-name"
|
||||
description = "example description"
|
||||
}
|
||||
|
|
|
|||
8
examples/resources/stackit_kms_wrapping_key/resource.tf
Normal file
8
examples/resources/stackit_kms_wrapping_key/resource.tf
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
resource "stackit_kms_wrapping_key" "example" {
|
||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
keyring_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
display_name = "example-name"
|
||||
protection = "software"
|
||||
algorithm = "rsa_2048_oaep_sha256"
|
||||
purpose = "wrap_symmetric_key"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue