go-cloud icon indicating copy to clipboard operation
go-cloud copied to clipboard

blob/azureblob: add a way to use CLI auth

Open lukehoban opened this issue 4 years ago • 2 comments

As requested in https://github.com/pulumi/pulumi/issues/7251, it would be helpful to support AZURE_STORAGE_AUTH_VIA_CLI so that blob storage could be authenticated via CLI auth, similar to the existing AZURE_KEYVAULT_AUTH_VIA_CLI that was added in https://github.com/google/go-cloud/issues/2462.

lukehoban avatar Jun 08 '21 22:06 lukehoban

I'd be happy to review a PR for this. The PR for the referenced issue #2462 should be a good starting point.

vangent avatar Jun 09 '21 04:06 vangent

I believe that #3156 will fix this, as it supports using https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#DefaultAzureCredential, which should support CLI auth.

vangent avatar Aug 09 '22 20:08 vangent

Fixed by #3156.

vangent avatar Aug 10 '22 21:08 vangent