alicloud_kms_key

Nivis Nix constructor for the alicloud_kms_key resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  automatic_rotation ? null,
  deletion_protection ? null,
  deletion_protection_description ? null,
  deletion_window_in_days ? null,
  description ? null,
  dkms_instance_id ? null,
  id ? null,
  is_enabled ? null,
  key_spec ? null,
  key_state ? null,
  key_usage ? null,
  origin ? null,
  pending_window_in_days ? null,
  policy ? null,
  protection_level ? null,
  rotation_interval ? null,
  status ? null,
  tags ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments

_None._

Optional arguments
  • automatic_rotation (defaults to null)
  • deletion_protection (defaults to null)
  • deletion_protection_description (defaults to null)
  • deletion_window_in_days (defaults to null)
  • description (defaults to null)
  • dkms_instance_id (defaults to null)
  • id (defaults to null)
  • is_enabled (defaults to null)
  • key_spec (defaults to null)
  • key_state (defaults to null)
  • key_usage (defaults to null)
  • origin (defaults to null)
  • pending_window_in_days (defaults to null)
  • policy (defaults to null)
  • protection_level (defaults to null)
  • rotation_interval (defaults to null)
  • status (defaults to null)
  • tags (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • creation_date
  • creator
  • delete_date
  • last_rotation_date
  • material_expire_time
  • next_rotation_date
  • primary_key_version
Example
alicloud_kms_key {
  name = "kms_key";
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.