The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to login from the command line using an api token?

shuki
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!
July 10, 2025

As application password are going to become obsolete in the near future.
How to login from the command line using an api token?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Jim Knepley - ReleaseTEAM
Atlassian Partner
July 10, 2025

Hi @shuki, welcome to the community.

I assume you're talking about interacting with a git repository from the command line. You can use an API token when prompted for a password using an HTTPS connector.

https://support.atlassian.com/bitbucket-cloud/docs/using-api-tokens/

...but, I wouldn't.

Unless there's an organizational policy or technical reason that prevents it for some reason, use SSH keys to authenticate yourself.

https://support.atlassian.com/bitbucket-cloud/docs/configure-ssh-and-two-step-verification/

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events