Plain English

⚠️ Credential — appears in label source; do NOT commit to public repositories. Sets the WPA/WPA2/WPA3 pre-shared key passphrase (8–63 ASCII characters per IEEE 802.11i, or a 64-hex-char raw PSK). Effective only when `WLAN ENCRYPTION` is set to a WPA-family mode.

When to use

Together with WLAN SSID and WLAN ENCRYPTION to join a WPA-secured network. Treat the passphrase as a credential: keep label sources containing it out of version control or run them through a commit-time secret scanner.

Syntax

WLAN PSK "<passphrase>"

Parameters

ParameterDescription
passphrase
Quoted WPA passphrase (8–63 ASCII chars) or raw 64-hex-char PSK.

Example

WLAN PSK "ChangeThisPassphrase"

Set the WPA pre-shared key

Try it in the playground View all TSPL commands