--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "virtfusion_user_server_auth_token Resource - virtfusion" subcategory: "" description: |- Generates a server-scoped authentication token for a VirtFusion user. This is a trigger-style resource — the token is generated on create and can be re-generated by changing the triggers attribute. --- # virtfusion_user_server_auth_token (Resource) Generates a server-scoped authentication token for a VirtFusion user. This is a trigger-style resource — the token is generated on create and can be re-generated by changing the `triggers` attribute. ## Schema ### Required - `ext_relation_id` (String) The external relation ID of the user to generate the server auth token for. - `server_id` (Number) The ID of the server to scope the auth token to. ### Optional - `triggers` (Map of String) A map of arbitrary strings that, when changed, will cause the server auth token to be re-generated. Works like `triggers` in `terraform_data`. ### Read-Only - `id` (String) The identifier for this server auth token generation. - `token` (String, Sensitive) The generated server authentication token. - `url` (String, Sensitive) The authentication URL for the generated server token.