Thanks for getting in touch! I've asked around the development
team and we don't have any examples of pulling out the token to use
in REST calls.
The code we use in Calamari is open source, so if you want to
see how we authenticate the Powershell context have a look on
GitHub. You may be able to do something similar and run another
authenticate to get the data you need for authenticating the