google_service_account_key

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

Constructor
{
  name,
  service_account_id,
  deletion_policy ? null,
  id ? null,
  keepers ? null,
  key_algorithm ? null,
  private_key_type ? null,
  public_key_data ? null,
  public_key_type ? null,
  overrides ? {}
}
Required arguments
  • service_account_id
Optional arguments
  • deletion_policy (defaults to null)
  • id (defaults to null)
  • keepers (defaults to null)
  • key_algorithm (defaults to null)
  • private_key_type (defaults to null)
  • public_key_data (defaults to null)
  • public_key_type (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • name
  • private_key
  • public_key
  • valid_after
  • valid_before
Example
google_service_account_key {
  name = "service_account_key";
  service_account_id = …;  # required
}

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