Azure / Azure/azure-devops-cli-extension

az devops login errors out while installing python keyring package

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

Description

Hi,

We started seeing this issue at work all of a sudden while running the az devops login command as part of a script (Can see the following error even when running 'az devops login' standalone on command line).
The exact command script calls is: **cat ~/.ssh/ado.pat | az devops login**

WARNING: Unable to use secure credential store in this environment.
WARNING: Please refer to alternate methods at https://aka.ms/azure-devops-cli-auth
WARNING: using Environment variable
WARNING: or use 'az login'
**ERROR: An error occurred. Pip failed with status code 1 for package keyring~=17.1.1. Use --debug for more information.**

The azure-cli version on linux distribution (CentOS 7) is 2.18.0
% az --version
azure-cli 2.18.0 *

I do not see this issue in 2.17.1 version. Couple users complained seeing it on machines with version 2.18.0 installed.
Can you please let me know what might be causing this as it's causing many flows to error out. Is there anything that we might be missing on our end?

_Originally posted by @PushkarVaity in https://github.com/Azure/azure-devops-cli-extension/issues/438#issuecomment-776151570_

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.