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

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/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events