helm registry login --password-stdin in Azure DevOps pipeline

0 votes

- task: AzureCLI@2

  inputs:

    azureSubscription: $(azureSubscriptionForACR)

    scriptType: 'ps'

    scriptLocation: 'inlineScript'

    inlineScript: |

      $password = az acr credential show -n $(azureAcrName) --query passwords[0].value

      helm registry login $(azureContainerRegistry) --username $(azureAcrUserName) --password $password

I tried to log in to my private ACR using Azure DevOps pipeline using this method and it works but it shows a warning

"WARNING: Using --password via the CLI is insecure. Use --password-stdin."

please suggest a way to avoid this warning.

I am using the new helm 3.8.0.

Mar 23, 2022 in Other DevOps Questions by Kichu
• 19,040 points
990 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Other DevOps Questions

0 votes
0 answers
0 votes
1 answer

How to configure and execute Azure Devops classic editor pipeline after commit in Github?

If you're looking for CI/CD triggers, all ...READ MORE

answered Feb 10, 2022 in Other DevOps Questions by Bhavitha
• 1,000 points
1,085 views
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers

helm registry login --password-stdin in Azure DevOps pipeline

I am trying to log in to ...READ MORE

Mar 22, 2022 in DevOps Tools by Kichu
• 19,040 points
991 views
0 votes
1 answer

Fetch AzureVm name from private IP in powershell

If by a better way you mean ...READ MORE

answered Jul 17, 2018 in DevOps on Cloud by DareDev
• 6,890 points
1,946 views
0 votes
1 answer

How do I use Powershell to create an Azure Web App that runs on Linux?

Try the command below: New-AzureRmResource -ResourceGroupName <ResourceGroupName> -Location ...READ MORE

answered Mar 25, 2022 in Azure by Edureka
• 12,690 points
1,092 views
0 votes
0 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP