[GH-ISSUE #370] accept ticket&CSRFPreventionToken as credentials #93

Closed
opened 2026-02-28 00:40:32 +03:00 by kerem · 2 comments
Owner

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

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
kerem closed this issue 2026-02-28 00:40:32 +03:00
Author
Owner

@camaeel commented on GitHub (Nov 8, 2024):

@Tinyblargon I prepared a MR which exposes option to provide ticket + CSRF prevention token.

<!-- gh-comment-id:2465759732 --> @camaeel commented on GitHub (Nov 8, 2024): @Tinyblargon I prepared a MR which exposes option to provide ticket + CSRF prevention token.
Author
Owner

@camaeel commented on GitHub (Nov 24, 2024):

This was implemented by #373

<!-- gh-comment-id:2495859671 --> @camaeel commented on GitHub (Nov 24, 2024): This was implemented by #373
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#93
No description provided.