Azure / get-keyvault-secrets

Automate your GitHub workflows using Azure Action for Key Vault
MIT License
38 stars 44 forks source link

Failure to login AKV using SPN Certificate Credentials. #28

Open tulsishell opened 3 years ago

tulsishell commented 3 years ago

I'm using Certificate, instead of a secret as credentials for logging into the Azure.
The login action seems to pass in the workflow successfully but this action fails saying "Error: Could not login to Azure." I am not able to wrap my head around this issue and needed help. Let me know if this is not the right place for this. image

How am I supposed to debug this and any other information I can provide for assistance?

github-actions[bot] commented 3 years ago

This issue is idle because it has been open for 14 days with no activity.

kanika1894 commented 3 years ago

Hey @tulsishell Does the same workflow work when you SPN to login to Azure? Also, ensure that you have enabled proper access.

tulsishell commented 3 years ago

@kanika1894 Yes, we are currently using this SPN for other Azure DevOps pipelines too and that is able to access the KeyVault. So, the SPN seems to be okay, it is something with the workflow that I'm presuming to be an issue?

github-actions[bot] commented 3 years ago

This issue is idle because it has been open for 14 days with no activity.

AjayKaleMS commented 2 years ago

Hi @tulsishell - Will it be possible to share the workflow to see what are the steps you are executing in it? Thanks