mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-26 07:55:50 +03:00
[GH-ISSUE #217] /access/ticket": x509: #45
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#45
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 @zhang192073 on GitHub (Nov 26, 2022).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/217
pveum role add TerraformProv -privs "VM.Allocate VM.Clone VM.Config.CDROM VM.Config.CPU VM.Config.Cloudinit VM.Config.Disk VM.Config.HWType VM.Config.Memory VM.Config.Network VM.Config.Options VM.Monitor VM.Audit VM.PowerMgmt Datastore.AllocateSpace Datastore.Audit"
pveum user add terraform-prov@pve
pveum aclmod / -user terraform-prov@pve -role TerraformProv
pveum user token add terraform-prov@pve terraform-token --privsep=0
┌──────────────┬──────────────────────────────────────┐
│ key │ value │
╞══════════════╪══════════════════════════════════════╡
│ full-tokenid │ terraform-prov@pve!terraform-token │
├──────────────┼──────────────────────────────────────┤
│ info │ {"privsep":"0"} │
├──────────────┼──────────────────────────────────────┤
│ value │ 477e8ccc-838f-404a-927f-342864e971fe │
└──────────────┴──────────────────────────────────────┘
PM_API_URL=https://192.168.200.211:8006/api2/json
PM_PASS=477e8ccc-838f-404a-927f-342864e971fe
PM_USER=terraform-prov@pve
└─# ./proxmox-api-go -debug start 103
2022/11/26 06:27:43 Post "https://192.168.200.211:8006/api2/json/access/ticket": x509: certificate signed by unknown authority
@mleone87 commented on GitHub (Dec 1, 2022):
use
-insecureflag