Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,898
Community Members
 
Community Events
185
Community Groups

CLI Auth with API Token

Elias Steiner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 27, 2023

Hello, is it possible to authenticate via API token using Confluence CLI? How can I do this? So far, I have been receiving an error message stating that the password field cannot be empty.
Kind Regards

2 answers

0 votes
Naveen Kumar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 02, 2023

Hi @Elias Steiner Welcome to the community

Yes, You can authenticate confluence CLI using a Token. Pass the CLI action as below.

--user "xxxx" --token "xxxx" --action getSpaceList

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 02, 2023

Hi @Elias Steiner and welcome,

please take a look to the following article https://bobswift.atlassian.net/wiki/spaces/ACLI/pages/392757809/Authentication.

You should be able to authenticate through https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html . That approach requires 7.9 or higher of Confluence.

Fabio

Elias Steiner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 02, 2023

Hi @Fabio Racobaldo _Herzum_ 
Yes i have seen this Article. But i see there only the Documentation for using the Rest API. I need a away to authtentificate over the Confluence CLI.

Do you have an example?

kind Regards
Elias

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events