Developer

 View Only
  • 1.  Using API to change PSKs in new Central/AOS10

    Posted Dec 22, 2025 09:06 AM
    Edited by cauliflower Dec 22, 2025 09:28 AM

    Hello,

    Currently AOS 8.13.1.1

    MCR+standby MCR

    Active cluster and failover cluster

    We have a number of PSK wireless SSIDs. Currently for one of these we use a Python script to change the password weekly, and distribute the new PSK via Teams. This works fine (though naturally we want to completely move away from PSK SSIDs eventually). But we may want to increase the number of SSIDs that we enforce regular password changes on in the medium future.

    Will we be able to do the same in new Central - use the API to change the PSKs via a Python script? We are in the very early stages of preparing for our move to AOS 10 but I want to try to be ahead of the game in terms of what we can replicate when we do make the move (summer 2026, but realistically may be later than that).

    Thank you,

    Guy



    -------------------------------------------



  • 2.  RE: Using API to change PSKs in new Central/AOS10

    Posted Dec 23, 2025 02:07 AM

    Hi Guy,

    Yes, i will be possible ! do you are using old or new Central ? you can look swagger APi on https://developer.arubanetworks.com/new-central-config/reference/getsites



    ------------------------------
    PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...

    PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)

    PowerArubaCL: Powershell Module to use Aruba Central

    PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..

    ACEP / ACMX #107 / ACDX #1281
    ------------------------------



  • 3.  RE: Using API to change PSKs in new Central/AOS10

    Posted Dec 23, 2025 11:15 AM
    Thank you,

    I think I have worked out how it might be done, I hadn't spotted the expandable Personal Security object under Wireless, WLAN "Update existing WLAN SSID profile configuration". Haven't tested it yet but looks like it might do the job.

    Best wishes,

    Guy





  • 4.  RE: Using API to change PSKs in new Central/AOS10
    Best Answer

    Posted Jan 06, 2026 12:33 PM

    Hi @cauliflower! Yes as mentioned you'll want to use the PATCH method on the /wlan-ssids/{ssid} endpoint

    We have an example workflow on our Central Python Workflows repository where a portion of the script updates an existing SSID password, this needs to be updated though to use the Profiles class and not the Wlan class : https://github.com/aruba/central-python-workflows/tree/v2(pre-release)/wpa3-psk-overlay

    Finally I believe the structure you'll want to provide is so:

    {
        "personal-security": {
            "passphrase-format": "STRING",
            "wpa-passphrase": "thisisthenewpassword"
        }
    }



    ------------------------------
    Ti Chiapuzio-Wong (they/them)
    HPE Aruba Networking
    ------------------------------



  • 5.  RE: Using API to change PSKs in new Central/AOS10

    Posted Jan 07, 2026 02:51 PM

    Thanks this looks useful. 

    When you say that the class will change from WLAN, does this mean the API URL will change too?

    -------------------------------------------