refactor(provider): switch auth from password to API token
Prefer API token over username/password — scoped to least-privilege TerraformRole, reduces blast radius if credentials leak.
This commit is contained in:
@@ -3,13 +3,8 @@ variable "proxmox_endpoint" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "proxmox_username" {
|
||||
description = "Proxmox user in the form user@realm, e.g. terraform@pve"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "proxmox_password" {
|
||||
description = "Password for the Proxmox user"
|
||||
variable "proxmox_api_token" {
|
||||
description = "Proxmox API token in the form user@realm!token-id=secret, e.g. terraform@pve!api-token-name=<SECRET>"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user