stackit_key_pair

Nivis 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 to null)
  • cfg_name (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • fingerprint
  • id
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.