Skip to Content
Aan de slagProxy Platform CLI

Proxy Platform CLI

Beheer uw clusters, orders, firewalls en support tickets vanaf de commandline met de officiële Proxy Platform CLI.

Tip

De CLI is bedoeld voor automatisering, scripting en CI/CD-pipelines. Voor eenmalige acties is het Control Panel meestal sneller.

Installatie

Python 3.11 of nieuwer

Terminal
python3 --version

Heeft u nog geen Python 3.11+? Installeer dit via python.org  of uw pakketbeheerder (brew install python@3.11 op macOS).

pipx (aanbevolen)

pipx installeert de CLI in een geïsoleerde omgeving zonder uw systeem-Python te vervuilen.

Terminal
brew install pipx pipx ensurepath

CLI installeren

Terminal
pipx install proxy-platform

Verifiëren

Terminal
proxy-platform --help proxy-platform version

Eerste gebruik

Inloggen

Terminal
proxy-platform login

U wordt gevraagd om uw e-mailadres en wachtwoord. Heeft u 2FA aan staan, dan vraagt de CLI ook om de OTP-code.

Tokens worden veilig opgeslagen in ~/.proxy-platform/tokens.json met permissies 0600 en automatisch ververst zodra ze verlopen.

Profiel bekijken

Terminal
proxy-platform whoami

Productcatalogus bekijken

Terminal
proxy-platform products list

Veelgebruikte commando’s

Clusters

Terminal
# Eigen clusters tonen proxy-platform clusters list # Details van één cluster proxy-platform clusters get <cluster-id> # Kubeconfig downloaden proxy-platform clusters kubeconfig <cluster-id> --output ~/.kube/config # Naam wijzigen proxy-platform clusters rename <cluster-id> --name "Productie cluster" # Cluster verwijderen (toont preview en vraagt bevestiging) proxy-platform clusters delete <cluster-id>

Bestellen

Terminal
# Interactief: leidt u door product → tier → provider → regio → firewall proxy-platform orders create # Volledig niet-interactief (handig voor automatisering) proxy-platform orders create \ --tier "Starter Kit" \ --provider hetzner \ --region nbg1 \ --firewall "Productie firewall" \ --yes # Bestellingen overzicht proxy-platform orders list proxy-platform orders get <order-id>

Firewalls

Terminal
# Overzicht en details proxy-platform firewall list proxy-platform firewall get <firewall-id> # Firewall aan cluster koppelen proxy-platform clusters assign-firewall <cluster-id> --firewall "Productie firewall"

Support en feedback

Terminal
# Support ticket aanmaken proxy-platform support submit \ --subject "Vraag over factuur" \ --description "Ik mis een specificatie op factuur 2026-001" \ --category billing # Feedback indienen proxy-platform feedback submit \ --title "Donker thema" \ --description "Graag een donker thema in het Control Panel" \ --category feature_request

Tab-completion inschakelen

Terminal
proxy-platform --install-completion

Herstart uw shell of source ~/.zshrc / source ~/.bashrc.

Verbose modus

Loopt u tegen iets aan? Voeg --verbose toe om alle API-calls en responses te zien:

Terminal
proxy-platform --verbose clusters list

Updaten

Terminal
pipx upgrade proxy-platform

Verwijderen

Terminal
pipx uninstall proxy-platform rm -rf ~/.proxy-platform

Vereisten

  • Python 3.11 of nieuwer
  • Internetverbinding naar de Proxy Platform API
  • Een Proxy Platform account (account aanmaken)

Bekend probleem oplossen

Note

proxy-platform: command not found

pipx ensurepath heeft uw shell-PATH bijgewerkt maar u moet de shell opnieuw openen. Sluit en heropen uw terminal, of run exec $SHELL.

Note

Not authenticated

Uw token is verlopen of niet aanwezig. Run proxy-platform login opnieuw.

Bron en feedback

De CLI is open voor feedback via proxy-platform feedback submit of via een support ticket.

Last updated on