mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-08-13 15:46:52 +00:00
fix(security): move hardcoded test password to GitHub Actions secret
- CI workflow: PVE_PASSWORD now reads from secrets.PVE_TEST_PASSWORD - variables.tf: removed default password, requires TF_VAR env var - Integration README: examples use <your-test-password> placeholder - create-api-token.sh: example IP changed to pve.example.com - .gitignore: added .env/.env.* exclusion Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# then wait for the PVE API and create an API token.
|
||||
#
|
||||
# Usage: create-api-token.sh <parent-pve-endpoint> <parent-api-token> <vm-id> <root-password> [max-wait-seconds]
|
||||
# parent-pve-endpoint: Full URL e.g. https://172.16.100.150:8006
|
||||
# parent-pve-endpoint: Full URL e.g. https://pve.example.com:8006
|
||||
# Outputs two lines:
|
||||
# IP=<discovered-ip>
|
||||
# TOKEN=root@pam!integration=<secret>
|
||||
|
||||
@@ -66,8 +66,7 @@ variable "network_bridge" {
|
||||
}
|
||||
|
||||
variable "test_vm_password" {
|
||||
description = "Root password for the nested PVE instances"
|
||||
description = "Root password for the nested PVE instances. Set via TF_VAR_test_vm_password env var."
|
||||
type = string
|
||||
sensitive = true
|
||||
default = "Testpass123!"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user