stackit_kms_keyNivis Nix constructor for the stackit_kms_key resource (provider stackit). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
algorithm,
display_name,
keyring_id,
project_id,
protection,
purpose,
access_scope ? null,
description ? null,
import_only ? null,
region ? null,
overrides ? {}
}Required arguments
algorithmdisplay_namekeyring_idproject_idprotectionpurpose
Optional arguments
access_scope(defaults tonull)description(defaults tonull)import_only(defaults tonull)region(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
idkey_id
Example
stackit_kms_key {
name = "kms_key";
algorithm = …; # required
display_name = …; # required
keyring_id = …; # required
project_id = …; # required
protection = …; # required
purpose = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.