Skip to content

Instantly share code, notes, and snippets.

View thickconfusion's full-sized avatar

thickconfusion

View GitHub Profile
@thickconfusion
thickconfusion / nordvpn-wireguardkeys-powershell.md
Created March 16, 2025 19:43 — forked from 2-click/nordvpn-wireguardkeys-powershell.md
Getting NordVPN Wireguard Keys from API with powershell
  1. Go to https://my.nordaccount.com/dashboard/nordvpn/manual-configuration/ and create an access token
  2. Copy token
  3. Use powershell to get Wireguard key
$username = "token"
$password = "<token goes here>"
$pair = "$($username):$($Password)"
$bytes = [System.Text.Encoding]::ASCII.GetBytes($pair)
$encodedCredentials = [Convert]::ToBase64String($bytes)
$url = "https://api.nordvpn.com/v1/users/services/credentials"