published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
KMS wrapping key resource schema.
Example Usage
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"
}
Create KmsWrappingKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KmsWrappingKey(name: string, args: KmsWrappingKeyArgs, opts?: CustomResourceOptions);@overload
def KmsWrappingKey(resource_name: str,
args: KmsWrappingKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KmsWrappingKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
algorithm: Optional[str] = None,
display_name: Optional[str] = None,
keyring_id: Optional[str] = None,
project_id: Optional[str] = None,
protection: Optional[str] = None,
purpose: Optional[str] = None,
access_scope: Optional[str] = None,
description: Optional[str] = None,
region: Optional[str] = None)func NewKmsWrappingKey(ctx *Context, name string, args KmsWrappingKeyArgs, opts ...ResourceOption) (*KmsWrappingKey, error)public KmsWrappingKey(string name, KmsWrappingKeyArgs args, CustomResourceOptions? opts = null)
public KmsWrappingKey(String name, KmsWrappingKeyArgs args)
public KmsWrappingKey(String name, KmsWrappingKeyArgs args, CustomResourceOptions options)
type: stackit:KmsWrappingKey
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KmsWrappingKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KmsWrappingKeyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KmsWrappingKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KmsWrappingKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KmsWrappingKeyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var kmsWrappingKeyResource = new Stackit.KmsWrappingKey("kmsWrappingKeyResource", new()
{
Algorithm = "string",
DisplayName = "string",
KeyringId = "string",
ProjectId = "string",
Protection = "string",
Purpose = "string",
AccessScope = "string",
Description = "string",
Region = "string",
});
example, err := stackit.NewKmsWrappingKey(ctx, "kmsWrappingKeyResource", &stackit.KmsWrappingKeyArgs{
Algorithm: pulumi.String("string"),
DisplayName: pulumi.String("string"),
KeyringId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Protection: pulumi.String("string"),
Purpose: pulumi.String("string"),
AccessScope: pulumi.String("string"),
Description: pulumi.String("string"),
Region: pulumi.String("string"),
})
var kmsWrappingKeyResource = new KmsWrappingKey("kmsWrappingKeyResource", KmsWrappingKeyArgs.builder()
.algorithm("string")
.displayName("string")
.keyringId("string")
.projectId("string")
.protection("string")
.purpose("string")
.accessScope("string")
.description("string")
.region("string")
.build());
kms_wrapping_key_resource = stackit.KmsWrappingKey("kmsWrappingKeyResource",
algorithm="string",
display_name="string",
keyring_id="string",
project_id="string",
protection="string",
purpose="string",
access_scope="string",
description="string",
region="string")
const kmsWrappingKeyResource = new stackit.KmsWrappingKey("kmsWrappingKeyResource", {
algorithm: "string",
displayName: "string",
keyringId: "string",
projectId: "string",
protection: "string",
purpose: "string",
accessScope: "string",
description: "string",
region: "string",
});
type: stackit:KmsWrappingKey
properties:
accessScope: string
algorithm: string
description: string
displayName: string
keyringId: string
projectId: string
protection: string
purpose: string
region: string
KmsWrappingKey Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The KmsWrappingKey resource accepts the following input properties:
- Algorithm string
- The wrapping algorithm used to wrap the key to import. Possible values are:
rsa_2048_oaep_sha256,rsa_3072_oaep_sha256,rsa_4096_oaep_sha256,rsa_4096_oaep_sha512,rsa_2048_oaep_sha256_aes_256_key_wrap,rsa_3072_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha512_aes_256_key_wrap. - Display
Name string - The display name to distinguish multiple wrapping keys.
- Keyring
Id string - The ID of the associated keyring
- Project
Id string - STACKIT project ID to which the keyring is associated.
- Protection string
- The underlying system that is responsible for protecting the key material. Possible values are:
software. - Purpose string
- The purpose for which the key will be used. Possible values are:
wrap_symmetric_key,wrap_asymmetric_key. - Access
Scope string - The access scope of the key. Default is
PUBLIC. Possible values are:PUBLIC,SNA. - Description string
- A user chosen description to distinguish multiple wrapping keys.
- Region string
- The resource region. If not defined, the provider region is used.
- Algorithm string
- The wrapping algorithm used to wrap the key to import. Possible values are:
rsa_2048_oaep_sha256,rsa_3072_oaep_sha256,rsa_4096_oaep_sha256,rsa_4096_oaep_sha512,rsa_2048_oaep_sha256_aes_256_key_wrap,rsa_3072_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha512_aes_256_key_wrap. - Display
Name string - The display name to distinguish multiple wrapping keys.
- Keyring
Id string - The ID of the associated keyring
- Project
Id string - STACKIT project ID to which the keyring is associated.
- Protection string
- The underlying system that is responsible for protecting the key material. Possible values are:
software. - Purpose string
- The purpose for which the key will be used. Possible values are:
wrap_symmetric_key,wrap_asymmetric_key. - Access
Scope string - The access scope of the key. Default is
PUBLIC. Possible values are:PUBLIC,SNA. - Description string
- A user chosen description to distinguish multiple wrapping keys.
- Region string
- The resource region. If not defined, the provider region is used.
- algorithm String
- The wrapping algorithm used to wrap the key to import. Possible values are:
rsa_2048_oaep_sha256,rsa_3072_oaep_sha256,rsa_4096_oaep_sha256,rsa_4096_oaep_sha512,rsa_2048_oaep_sha256_aes_256_key_wrap,rsa_3072_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha512_aes_256_key_wrap. - display
Name String - The display name to distinguish multiple wrapping keys.
- keyring
Id String - The ID of the associated keyring
- project
Id String - STACKIT project ID to which the keyring is associated.
- protection String
- The underlying system that is responsible for protecting the key material. Possible values are:
software. - purpose String
- The purpose for which the key will be used. Possible values are:
wrap_symmetric_key,wrap_asymmetric_key. - access
Scope String - The access scope of the key. Default is
PUBLIC. Possible values are:PUBLIC,SNA. - description String
- A user chosen description to distinguish multiple wrapping keys.
- region String
- The resource region. If not defined, the provider region is used.
- algorithm string
- The wrapping algorithm used to wrap the key to import. Possible values are:
rsa_2048_oaep_sha256,rsa_3072_oaep_sha256,rsa_4096_oaep_sha256,rsa_4096_oaep_sha512,rsa_2048_oaep_sha256_aes_256_key_wrap,rsa_3072_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha512_aes_256_key_wrap. - display
Name string - The display name to distinguish multiple wrapping keys.
- keyring
Id string - The ID of the associated keyring
- project
Id string - STACKIT project ID to which the keyring is associated.
- protection string
- The underlying system that is responsible for protecting the key material. Possible values are:
software. - purpose string
- The purpose for which the key will be used. Possible values are:
wrap_symmetric_key,wrap_asymmetric_key. - access
Scope string - The access scope of the key. Default is
PUBLIC. Possible values are:PUBLIC,SNA. - description string
- A user chosen description to distinguish multiple wrapping keys.
- region string
- The resource region. If not defined, the provider region is used.
- algorithm str
- The wrapping algorithm used to wrap the key to import. Possible values are:
rsa_2048_oaep_sha256,rsa_3072_oaep_sha256,rsa_4096_oaep_sha256,rsa_4096_oaep_sha512,rsa_2048_oaep_sha256_aes_256_key_wrap,rsa_3072_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha512_aes_256_key_wrap. - display_
name str - The display name to distinguish multiple wrapping keys.
- keyring_
id str - The ID of the associated keyring
- project_
id str - STACKIT project ID to which the keyring is associated.
- protection str
- The underlying system that is responsible for protecting the key material. Possible values are:
software. - purpose str
- The purpose for which the key will be used. Possible values are:
wrap_symmetric_key,wrap_asymmetric_key. - access_
scope str - The access scope of the key. Default is
PUBLIC. Possible values are:PUBLIC,SNA. - description str
- A user chosen description to distinguish multiple wrapping keys.
- region str
- The resource region. If not defined, the provider region is used.
- algorithm String
- The wrapping algorithm used to wrap the key to import. Possible values are:
rsa_2048_oaep_sha256,rsa_3072_oaep_sha256,rsa_4096_oaep_sha256,rsa_4096_oaep_sha512,rsa_2048_oaep_sha256_aes_256_key_wrap,rsa_3072_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha512_aes_256_key_wrap. - display
Name String - The display name to distinguish multiple wrapping keys.
- keyring
Id String - The ID of the associated keyring
- project
Id String - STACKIT project ID to which the keyring is associated.
- protection String
- The underlying system that is responsible for protecting the key material. Possible values are:
software. - purpose String
- The purpose for which the key will be used. Possible values are:
wrap_symmetric_key,wrap_asymmetric_key. - access
Scope String - The access scope of the key. Default is
PUBLIC. Possible values are:PUBLIC,SNA. - description String
- A user chosen description to distinguish multiple wrapping keys.
- region String
- The resource region. If not defined, the provider region is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the KmsWrappingKey resource produces the following output properties:
- Created
At string - The date and time the creation of the wrapping key was triggered.
- Expires
At string - The date and time the wrapping key will expire.
- Id string
- The provider-assigned unique ID for this managed resource.
- Public
Key string - The public key of the wrapping key.
- Wrapping
Key stringId - The ID of the wrapping key
- Created
At string - The date and time the creation of the wrapping key was triggered.
- Expires
At string - The date and time the wrapping key will expire.
- Id string
- The provider-assigned unique ID for this managed resource.
- Public
Key string - The public key of the wrapping key.
- Wrapping
Key stringId - The ID of the wrapping key
- created
At String - The date and time the creation of the wrapping key was triggered.
- expires
At String - The date and time the wrapping key will expire.
- id String
- The provider-assigned unique ID for this managed resource.
- public
Key String - The public key of the wrapping key.
- wrapping
Key StringId - The ID of the wrapping key
- created
At string - The date and time the creation of the wrapping key was triggered.
- expires
At string - The date and time the wrapping key will expire.
- id string
- The provider-assigned unique ID for this managed resource.
- public
Key string - The public key of the wrapping key.
- wrapping
Key stringId - The ID of the wrapping key
- created_
at str - The date and time the creation of the wrapping key was triggered.
- expires_
at str - The date and time the wrapping key will expire.
- id str
- The provider-assigned unique ID for this managed resource.
- public_
key str - The public key of the wrapping key.
- wrapping_
key_ strid - The ID of the wrapping key
- created
At String - The date and time the creation of the wrapping key was triggered.
- expires
At String - The date and time the wrapping key will expire.
- id String
- The provider-assigned unique ID for this managed resource.
- public
Key String - The public key of the wrapping key.
- wrapping
Key StringId - The ID of the wrapping key
Look up Existing KmsWrappingKey Resource
Get an existing KmsWrappingKey resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KmsWrappingKeyState, opts?: CustomResourceOptions): KmsWrappingKey@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_scope: Optional[str] = None,
algorithm: Optional[str] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
expires_at: Optional[str] = None,
keyring_id: Optional[str] = None,
project_id: Optional[str] = None,
protection: Optional[str] = None,
public_key: Optional[str] = None,
purpose: Optional[str] = None,
region: Optional[str] = None,
wrapping_key_id: Optional[str] = None) -> KmsWrappingKeyfunc GetKmsWrappingKey(ctx *Context, name string, id IDInput, state *KmsWrappingKeyState, opts ...ResourceOption) (*KmsWrappingKey, error)public static KmsWrappingKey Get(string name, Input<string> id, KmsWrappingKeyState? state, CustomResourceOptions? opts = null)public static KmsWrappingKey get(String name, Output<String> id, KmsWrappingKeyState state, CustomResourceOptions options)resources: _: type: stackit:KmsWrappingKey get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Scope string - The access scope of the key. Default is
PUBLIC. Possible values are:PUBLIC,SNA. - Algorithm string
- The wrapping algorithm used to wrap the key to import. Possible values are:
rsa_2048_oaep_sha256,rsa_3072_oaep_sha256,rsa_4096_oaep_sha256,rsa_4096_oaep_sha512,rsa_2048_oaep_sha256_aes_256_key_wrap,rsa_3072_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha512_aes_256_key_wrap. - Created
At string - The date and time the creation of the wrapping key was triggered.
- Description string
- A user chosen description to distinguish multiple wrapping keys.
- Display
Name string - The display name to distinguish multiple wrapping keys.
- Expires
At string - The date and time the wrapping key will expire.
- Keyring
Id string - The ID of the associated keyring
- Project
Id string - STACKIT project ID to which the keyring is associated.
- Protection string
- The underlying system that is responsible for protecting the key material. Possible values are:
software. - Public
Key string - The public key of the wrapping key.
- Purpose string
- The purpose for which the key will be used. Possible values are:
wrap_symmetric_key,wrap_asymmetric_key. - Region string
- The resource region. If not defined, the provider region is used.
- Wrapping
Key stringId - The ID of the wrapping key
- Access
Scope string - The access scope of the key. Default is
PUBLIC. Possible values are:PUBLIC,SNA. - Algorithm string
- The wrapping algorithm used to wrap the key to import. Possible values are:
rsa_2048_oaep_sha256,rsa_3072_oaep_sha256,rsa_4096_oaep_sha256,rsa_4096_oaep_sha512,rsa_2048_oaep_sha256_aes_256_key_wrap,rsa_3072_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha512_aes_256_key_wrap. - Created
At string - The date and time the creation of the wrapping key was triggered.
- Description string
- A user chosen description to distinguish multiple wrapping keys.
- Display
Name string - The display name to distinguish multiple wrapping keys.
- Expires
At string - The date and time the wrapping key will expire.
- Keyring
Id string - The ID of the associated keyring
- Project
Id string - STACKIT project ID to which the keyring is associated.
- Protection string
- The underlying system that is responsible for protecting the key material. Possible values are:
software. - Public
Key string - The public key of the wrapping key.
- Purpose string
- The purpose for which the key will be used. Possible values are:
wrap_symmetric_key,wrap_asymmetric_key. - Region string
- The resource region. If not defined, the provider region is used.
- Wrapping
Key stringId - The ID of the wrapping key
- access
Scope String - The access scope of the key. Default is
PUBLIC. Possible values are:PUBLIC,SNA. - algorithm String
- The wrapping algorithm used to wrap the key to import. Possible values are:
rsa_2048_oaep_sha256,rsa_3072_oaep_sha256,rsa_4096_oaep_sha256,rsa_4096_oaep_sha512,rsa_2048_oaep_sha256_aes_256_key_wrap,rsa_3072_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha512_aes_256_key_wrap. - created
At String - The date and time the creation of the wrapping key was triggered.
- description String
- A user chosen description to distinguish multiple wrapping keys.
- display
Name String - The display name to distinguish multiple wrapping keys.
- expires
At String - The date and time the wrapping key will expire.
- keyring
Id String - The ID of the associated keyring
- project
Id String - STACKIT project ID to which the keyring is associated.
- protection String
- The underlying system that is responsible for protecting the key material. Possible values are:
software. - public
Key String - The public key of the wrapping key.
- purpose String
- The purpose for which the key will be used. Possible values are:
wrap_symmetric_key,wrap_asymmetric_key. - region String
- The resource region. If not defined, the provider region is used.
- wrapping
Key StringId - The ID of the wrapping key
- access
Scope string - The access scope of the key. Default is
PUBLIC. Possible values are:PUBLIC,SNA. - algorithm string
- The wrapping algorithm used to wrap the key to import. Possible values are:
rsa_2048_oaep_sha256,rsa_3072_oaep_sha256,rsa_4096_oaep_sha256,rsa_4096_oaep_sha512,rsa_2048_oaep_sha256_aes_256_key_wrap,rsa_3072_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha512_aes_256_key_wrap. - created
At string - The date and time the creation of the wrapping key was triggered.
- description string
- A user chosen description to distinguish multiple wrapping keys.
- display
Name string - The display name to distinguish multiple wrapping keys.
- expires
At string - The date and time the wrapping key will expire.
- keyring
Id string - The ID of the associated keyring
- project
Id string - STACKIT project ID to which the keyring is associated.
- protection string
- The underlying system that is responsible for protecting the key material. Possible values are:
software. - public
Key string - The public key of the wrapping key.
- purpose string
- The purpose for which the key will be used. Possible values are:
wrap_symmetric_key,wrap_asymmetric_key. - region string
- The resource region. If not defined, the provider region is used.
- wrapping
Key stringId - The ID of the wrapping key
- access_
scope str - The access scope of the key. Default is
PUBLIC. Possible values are:PUBLIC,SNA. - algorithm str
- The wrapping algorithm used to wrap the key to import. Possible values are:
rsa_2048_oaep_sha256,rsa_3072_oaep_sha256,rsa_4096_oaep_sha256,rsa_4096_oaep_sha512,rsa_2048_oaep_sha256_aes_256_key_wrap,rsa_3072_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha512_aes_256_key_wrap. - created_
at str - The date and time the creation of the wrapping key was triggered.
- description str
- A user chosen description to distinguish multiple wrapping keys.
- display_
name str - The display name to distinguish multiple wrapping keys.
- expires_
at str - The date and time the wrapping key will expire.
- keyring_
id str - The ID of the associated keyring
- project_
id str - STACKIT project ID to which the keyring is associated.
- protection str
- The underlying system that is responsible for protecting the key material. Possible values are:
software. - public_
key str - The public key of the wrapping key.
- purpose str
- The purpose for which the key will be used. Possible values are:
wrap_symmetric_key,wrap_asymmetric_key. - region str
- The resource region. If not defined, the provider region is used.
- wrapping_
key_ strid - The ID of the wrapping key
- access
Scope String - The access scope of the key. Default is
PUBLIC. Possible values are:PUBLIC,SNA. - algorithm String
- The wrapping algorithm used to wrap the key to import. Possible values are:
rsa_2048_oaep_sha256,rsa_3072_oaep_sha256,rsa_4096_oaep_sha256,rsa_4096_oaep_sha512,rsa_2048_oaep_sha256_aes_256_key_wrap,rsa_3072_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha256_aes_256_key_wrap,rsa_4096_oaep_sha512_aes_256_key_wrap. - created
At String - The date and time the creation of the wrapping key was triggered.
- description String
- A user chosen description to distinguish multiple wrapping keys.
- display
Name String - The display name to distinguish multiple wrapping keys.
- expires
At String - The date and time the wrapping key will expire.
- keyring
Id String - The ID of the associated keyring
- project
Id String - STACKIT project ID to which the keyring is associated.
- protection String
- The underlying system that is responsible for protecting the key material. Possible values are:
software. - public
Key String - The public key of the wrapping key.
- purpose String
- The purpose for which the key will be used. Possible values are:
wrap_symmetric_key,wrap_asymmetric_key. - region String
- The resource region. If not defined, the provider region is used.
- wrapping
Key StringId - The ID of the wrapping key
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Friday, Feb 20, 2026 by stackitcloud
