Hi Tiffany - thanks for replying
I'm using the pycentral library and generating access tokens from within classic Aruba Central. That works and the pycentral library refreshes the tokens when necessary. The OAuth docs (linked above) ask for:
- Client id and client secret from API Gateway by creating an application.
- Username and Password for the user in your HPE Aruba Networking Central account.
Client id and client secret I can get from Central, that's OK, but which username and password do I use? I don't log directly into Aruba Central, I log into Greenlake first, then into Central from there. I don't specify another userid and password when I start up Central. I tried using my Greenlake credentials for OAuth, but that didn't work.
-------------------------------------------
Original Message:
Sent: Sep 25, 2025 08:18 PM
From: Tiffany.Chiapuzio-Wong
Subject: OAuth Central credentials when using Greenlake?
Hi @Allen Unrau! Are you attempting to automate classic or new Central? For new Central you'll want to follow this guide here : https://developer.arubanetworks.com/new-central/docs/generating-and-managing-access-tokens
this is where you create an API client with a client id and client secret for your Central instance for using the new Central APIs - is this what you're trying to do?
------------------------------
Ti Chiapuzio-Wong (they/them)
HPE Aruba Networking
------------------------------