vault_gcpkms_secret_backend_keyNivis Nix constructor for the vault_gcpkms_secret_backend_key resource (provider vault). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
key_name,
key_ring,
mount,
algorithm ? null,
crypto_key ? null,
labels ? null,
namespace ? null,
protection_level ? null,
purpose ? null,
rotation_period ? null,
overrides ? {}
}Required arguments
key_namekey_ringmount
Optional arguments
algorithm(defaults tonull)crypto_key(defaults tonull)labels(defaults tonull)namespace(defaults tonull)protection_level(defaults tonull)purpose(defaults tonull)rotation_period(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
next_rotation_time_secondsprimary_versionrotation_schedule_seconds
Example
vault_gcpkms_secret_backend_key {
name = "gcpkms_secret_backend_key";
key_name = …; # required
key_ring = …; # required
mount = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.