azure-spring-boot-samples
azure-spring-boot-samples copied to clipboard
added account-key to application.yml
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
@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.
Closing this issue because there is no response for a long time.