Azure / Azure/azure-devops-cli-extension

Failed to store PAT using keyring, az devops cli

Open
#1,349 8 comments 11 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

I’m trying to authenticate toward my Azure DevOps organisation using a personal access token, but keep getting met with the “Failed to store PAT using keyring, falling back to file storage”.

Cli version
azure-cli 2.46.0

Steps performed to login to https://dev.azure.com/{orgName}

cat pattoken.txt | az devops login --organization https://dev.azure.com/msazure
![image](https://user-images.githubusercontent.com/70500138/228928805-fbe05609-58a6-436a-b964-3a1813d710cd.png)

export azure_devops=$(cat pattoken.txt)
echo $azure_devops | az devops login --organization https://dev.azure.com/msazure

to store PAT using keyring; falling back to file storage.
You can clear the stored credential by running az devops logout.
Refer https://aka.ms/azure-devops-cli-auth to know more on sign in with PAT.

![image](https://user-images.githubusercontent.com/70500138/228928816-cf2404dc-ce79-47f3-ad80-7fb9f1325321.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.