Skip to content

Resource: proxmox_user_token

User API tokens.

Schema

Required

  • token_name (String) User-specific token identifier.
  • user_id (String) User identifier.

Optional

  • comment (String) Comment for the token.
  • expiration_date (String) Expiration date for the token.
  • privileges_separation (Boolean) Restrict API token privileges with separate ACLs (default), or give full privileges of corresponding user.

Read-Only

  • id (String) Unique token identifier with format <user_id>!<token_name>.
  • value (String, Sensitive) API token value used for authentication. It is populated only when creating a new token, and can't be retrieved at import.