alicloud_kms_secretNivis Nix constructor for the alicloud_kms_secret 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,
secret_data,
secret_name,
version_id,
description ? null,
dkms_instance_id ? null,
enable_automatic_rotation ? null,
encryption_key_id ? null,
extended_config ? null,
force_delete_without_recovery ? null,
id ? null,
policy ? null,
recovery_window_in_days ? null,
rotation_interval ? null,
secret_data_type ? null,
secret_type ? null,
tags ? null,
version_stages ? null,
timeouts ? null,
overrides ? {}
}Required arguments
secret_datasecret_nameversion_id
Optional arguments
description(defaults tonull)dkms_instance_id(defaults tonull)enable_automatic_rotation(defaults tonull)encryption_key_id(defaults tonull)extended_config(defaults tonull)force_delete_without_recovery(defaults tonull)id(defaults tonull)policy(defaults tonull)recovery_window_in_days(defaults tonull)rotation_interval(defaults tonull)secret_data_type(defaults tonull)secret_type(defaults tonull)tags(defaults tonull)version_stages(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arncreate_timeplanned_delete_time
Example
alicloud_kms_secret {
name = "kms_secret";
secret_data = …; # required
secret_name = …; # required
version_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.