stackit_key_pairNivis Nix constructor for the stackit_key_pair 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, public_key, labels ? null, cfg_name ? null, overrides ? {} }Required arguments
public_key
Optional arguments
labels(defaults tonull)cfg_name(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
fingerprintid
Example
stackit_key_pair {
name = "key_pair";
public_key = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.