mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[GH-ISSUE #370] accept ticket&CSRFPreventionToken as credentials #93
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @camaeel on GitHub (Oct 24, 2024).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/370
Description
It would be great if a user could provide a ticket & CSRFPreventionToken on his own. Then usage of credential helper like this one: https://github.com/camaeel/proxmox-oidc-credential-helper could be helpful for automatically exchanging oidc credentials for ticket+CSRFPreventionToken pair.
Use Case(s)
I would like to stop using static long running passwords or api tokens in my setup, and use OIDC to obtain ticket+CSRFPreventionToken and use them with packer plugin.
Ticket is follow-up of a ticket from packer-plugin-proxmox https://github.com/hashicorp/packer-plugin-proxmox/issues/294
@camaeel commented on GitHub (Nov 8, 2024):
@Tinyblargon I prepared a MR which exposes option to provide ticket + CSRF prevention token.
@camaeel commented on GitHub (Nov 24, 2024):
This was implemented by #373