azure-spring-boot-samples icon indicating copy to clipboard operation
azure-spring-boot-samples copied to clipboard

added account-key to application.yml

Open bhowmick-sumit opened this issue 3 years ago • 1 comments

spring.cloud.azure.storage.blob.account-key is needed to access the blob storage.

Purpose

  • ...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

bhowmick-sumit avatar Aug 06 '22 12:08 bhowmick-sumit

@sumit-kumar-bhowmick thanks for your contribution. But the sample is designed to use Azure AD authentication instead of an account key to access the storage account. Check this https://github.com/Azure-Samples/azure-spring-boot-samples/tree/spring-cloud-azure_v4.3.0/storage/spring-cloud-azure-starter-storage-blob/storage-blob-sample#authenticate-using-the-azure-cli. If no credential configured, it will use the DefaultAzureCredential to do the authentication.

saragluna avatar Aug 08 '22 05:08 saragluna

Closing this issue because there is no response for a long time.

chenrujun avatar Sep 29 '22 01:09 chenrujun