stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
KMS wrapping key datasource schema.
Example Usage
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"
}
Using getKmsWrappingKey
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKmsWrappingKey(args: GetKmsWrappingKeyArgs, opts?: InvokeOptions): Promise<GetKmsWrappingKeyResult>
function getKmsWrappingKeyOutput(args: GetKmsWrappingKeyOutputArgs, opts?: InvokeOptions): Output<GetKmsWrappingKeyResult>def get_kms_wrapping_key(keyring_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
wrapping_key_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKmsWrappingKeyResult
def get_kms_wrapping_key_output(keyring_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
wrapping_key_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKmsWrappingKeyResult]func LookupKmsWrappingKey(ctx *Context, args *LookupKmsWrappingKeyArgs, opts ...InvokeOption) (*LookupKmsWrappingKeyResult, error)
func LookupKmsWrappingKeyOutput(ctx *Context, args *LookupKmsWrappingKeyOutputArgs, opts ...InvokeOption) LookupKmsWrappingKeyResultOutput> Note: This function is named LookupKmsWrappingKey in the Go SDK.
public static class GetKmsWrappingKey
{
public static Task<GetKmsWrappingKeyResult> InvokeAsync(GetKmsWrappingKeyArgs args, InvokeOptions? opts = null)
public static Output<GetKmsWrappingKeyResult> Invoke(GetKmsWrappingKeyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKmsWrappingKeyResult> getKmsWrappingKey(GetKmsWrappingKeyArgs args, InvokeOptions options)
public static Output<GetKmsWrappingKeyResult> getKmsWrappingKey(GetKmsWrappingKeyArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getKmsWrappingKey:getKmsWrappingKey
arguments:
# arguments dictionaryThe following arguments are supported:
- Keyring
Id string - The ID of the associated keyring
- Project
Id string - STACKIT project ID to which the keyring is associated.
- Wrapping
Key stringId - The ID of the wrapping key
- Region string
- The resource region. If not defined, the provider region is used.
- Keyring
Id string - The ID of the associated keyring
- Project
Id string - STACKIT project ID to which the keyring is associated.
- Wrapping
Key stringId - The ID of the wrapping key
- Region string
- The resource region. If not defined, the provider region is used.
- keyring
Id String - The ID of the associated keyring
- project
Id String - STACKIT project ID to which the keyring is associated.
- wrapping
Key StringId - The ID of the wrapping key
- region String
- The resource region. If not defined, the provider region is used.
- keyring
Id string - The ID of the associated keyring
- project
Id string - STACKIT project ID to which the keyring is associated.
- wrapping
Key stringId - The ID of the wrapping key
- region string
- The resource region. If not defined, the provider region is used.
- keyring_
id str - The ID of the associated keyring
- project_
id str - STACKIT project ID to which the keyring is associated.
- wrapping_
key_ strid - The ID of the wrapping key
- region str
- The resource region. If not defined, the provider region is used.
- keyring
Id String - The ID of the associated keyring
- project
Id String - STACKIT project ID to which the keyring is associated.
- wrapping
Key StringId - The ID of the wrapping key
- region String
- The resource region. If not defined, the provider region is used.
getKmsWrappingKey Result
The following output properties are available:
- 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.
- Id string
- 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.
- Id string
- 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.
- id String
- 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.
- id string
- 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.
- id str
- 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.
- id String
- 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.
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
