Skip to content

Protect Proxmox host token_ref + group_vars creds at rest (currently plaintext) #86

@pparage

Description

@pparage

Context

The Proxmox API token is stored in plaintext in two places:

  • ProxmoxHost.token_ref — plaintext column in SQLite, sent as PVEAPIToken={token_ref}.
  • inventory/group_vars/proxmox.yml on the backend VM — the v0 Ansible path reads the Proxmox creds from plaintext here (and it's rewritten on deploy).

What

  • Encrypt ProxmoxHost.token_ref at rest (app-level encryption or a secret-store reference), keeping the PVEAPIToken={…} usage at the call site.
  • Move the v0 group_vars Proxmox creds into range42-deployment (vaulted); document the flow in range42-deployment/docs/.

Acceptance

  • No plaintext Proxmox token in the DB or in the OSS repo inventory.

Companion issue: #75 covers the same "secrets at rest" theme for the git/Source PAT (Source.token_ref). These two together form the secrets-hardening cleanup; keep scopes separate (different subsystem, different token).

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions