2 Resources api_key
Forgejo Actions edited this page 2026-11-18 21:50:59 +00:00

xyops_api_key (Resource)

Schema

Required

  • title (String)

Optional

  • active (Boolean)
  • description (String)
  • expires (Number)
  • privileges (Map of Number)
  • roles (List of String)

Read-Only

  • id (String) The ID of this resource.
  • key (String, Sensitive)
  • plain_key (String, Sensitive)

Import

Import by ID, e.g. tofu import xyops_api_key.<name> <id>.