Hello,
We have a question about how turning on two-factor authentication in Bitbucket accounts will affect our pipeline scripts.
First, in the Build Setup section (which is BitBucket's code) there is a line that runs git clone with "https://x-token-auth:..." access.
git clone --branch="master" --depth 50 https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/$BITBUCKET_REPO_FULL_NAME.git $BUILD_DIR
In the documentation for turning on two-step verification (2FA), it says "Enabling two-step verification will disable all remote HTTPS actions for Git and the Bitbucket API. Any applications which use HTTPS to access Bitbucket will be impacted."
I'm imagining that the above clone action will not be impacted, but want to be sure I understand why.
And, I have the same question about scripts that we run in our pipelines. Do we have initiate an SSH session before running git clone in our scripts, or are we already running in SSH?
Thanks and Best Regards,
Josh