Is there a way to authenticate to Confluence using a Personal Access Token with PowerShell? I don't see a method using the ConfluencePS module. My connection script uses that PowerShell module via the Set-ConfluenceInfo method, but there does not seem to be a way to use the PAT with it.
Hi @Dennis A_
Welcome to the Atlassian Community.
ConfluencePS is maintained by a community unrelated to Atlassian. More information can be found in https://atlassianps.org/docs/Contributing/ .
Checking their documentation I don't see something specific to authenticate with PAT on Confluence Server/DC.
However, on the server configuration there seems to be a possibility to include http headers on every request, on which you might be able to configure your user's PAT.
See https://atlassianps.org/docs/AtlassianPS.Configuration/commands/Add-ServerConfiguration/ for more information on that configuration.
I hope that helps.
Kind regards
Thiago Masutti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.