google_kms_crypto_keyNivis Nix constructor for the google_kms_crypto_key resource (provider google-beta). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
key_ring,
crypto_key_backend ? null,
deletion_policy ? null,
destroy_scheduled_duration ? null,
id ? null,
import_only ? null,
labels ? null,
cfg_name ? null,
purpose ? null,
rotation_period ? null,
skip_initial_version_creation ? null,
key_access_justifications_policy ? null,
timeouts ? null,
version_template ? null,
overrides ? {}
}Required arguments
key_ring
Optional arguments
crypto_key_backend(defaults tonull)deletion_policy(defaults tonull)destroy_scheduled_duration(defaults tonull)id(defaults tonull)import_only(defaults tonull)labels(defaults tonull)cfg_name(defaults tonull)purpose(defaults tonull)rotation_period(defaults tonull)skip_initial_version_creation(defaults tonull)key_access_justifications_policy(defaults tonull)timeouts(defaults tonull)version_template(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
effective_labelsprimaryterraform_labels
Example
google_kms_crypto_key {
name = "kms_crypto_key";
key_ring = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.