* Added case sensitive constant
* Added documentation and implementation
* Added documentation and implementation
* Rerunning CI/CD
* Merge in changes from master
* Parse case sensitive keys flag
* Merging in master
* Applying requested changes
* Initial draft
* Conveying ConfigurableEnvironment to KeyVaultHealthIndicator
* Conveying ConfigurableEnvironment to KeyVaultHealthIndicator
* Making checking health more robust
* Make the azure key vault visible as properties in /actuator/env endpoint
* Reworked using @AutoWired
* Added conditional enablement of 'azure-key-vault' health indicator
* Added test for Azure KeyVault Spring Boot Health Indicator
* Remove spring framework version. (#900)
Co-authored-by: Rujun Chen <rujche@microsoft.com>
* Added test for /actuator/health/keyVault testing
* Fix build
* Add /actuator/env test
* Addressing PR feedback
* Remove nbactions.xml
* Rework refreshing logic
* Iterate over secrets by page
* Iterate over secrets by page
* Iterate over secrets by page
* Iterate over secrets by page
* Make sure unit tests pass
* Reorder refreshProperties
* Apply requested changes. Made duplicateKey test use case sensitive keys
* Restoring files
* Force build
Co-authored-by: Xiaolu Dai <31124698+saragluna@users.noreply.github.com>
Co-authored-by: Rujun Chen <Rujun.Chen@microsoft.com>
Co-authored-by: Rujun Chen <rujche@microsoft.com>
* Remove nbactions.xml
* Rework refreshing logic
* Iterate over secrets by page
* Iterate over secrets by page
* Iterate over secrets by page
* Iterate over secrets by page
* Make sure unit tests pass
* Reorder refreshProperties
* Apply requested changes. Made duplicateKey test use case sensitive keys
Co-authored-by: Rujun Chen <Rujun.Chen@microsoft.com>
* Added case sensitive constant
* Added documentation and implementation
* Added documentation and implementation
* Rerunning CI/CD
* Merge in changes from master
* Parse case sensitive keys flag
* Merging in master
* Applying requested changes
Co-authored-by: Xiaolu Dai <31124698+saragluna@users.noreply.github.com>
* Prepare to release 2.3.1.
* Update version to 2.3.2-SNAPSHOT.
Co-authored-by: Rujun Chen <rujche@microsoft.com>
Co-authored-by: Xiaolu Dai <31124698+saragluna@users.noreply.github.com>
* msi for asc
* add a period
* move asc before app service
* remove space
* system-assigned
Co-authored-by: Guoqing Geng <hellokangning@hotmail.com>
Co-authored-by: Guoqing Geng <gugeng@microsoft.com>
Co-authored-by: Xiaolu Dai <31124698+saragluna@users.noreply.github.com>
* Upgrade version to 2.3.0.
* Update spring framework version.
* Remove code which make build failed in Jenkins job.
* Update version to 2.3.0 for azure.dependencies.bom.version, spring.data.cosmosdb.version, spring.data.gremlin.version.
* Update version to 2.3.1-SNAPSHOT
* Update version to 2.3.1-SNAPSHOT for samples, tests, and imports.
* Fix error: azure-spring-boot-bom's version should be 2.3.1-SNAPSHOT
* Fix build error caused by spring-boot version up.
* Fix vertion error: it should be SNAPSHOT version.
* Update version in README.md.
* Update version in README.md.
* Update gradle version.
Co-authored-by: Rujun Chen <rujche@microsoft.com>
* Add missing closing div tag to azure-active-directoy-spring-boot-sample index.html
* Update index.html
Move </div> tag before <scripts> tags in index.html in azure-active-directory-spring-boot-sample.
Co-authored-by: Xiaolu Dai <31124698+saragluna@users.noreply.github.com>
* retire starters for mediaservices, storageblob, and servicebus. Move them into samples
* fix gradle build
* remove dependencies on mediaservices, storage-blob, servicebus in azure-spring-boot
Co-authored-by: Xiaolu Dai <xiada@microsoft.com>
* Cache both key and value for keyVault. (#637)
* Remove unnecessary locks. (#637)
* Just keep uniformed property name in propertyNames. (#637)
* Fix test failure in KeyVaultOperationUnitTest. (#637)
* Fix 2 bugs reported by findbugs-maven-plugin. (#637)
* Remove reference of io.jsonwebtoken.lang.Collections. (#637)
* Need refresh KeyVaultItems if propertyNames == null. (#637)
* 1. Remove unnecessary 'synchronized'. 2. Use volatile long instead of AutomicLong. (#637)
* secretKey and propertyName mean different things. (#637)
* Property should be distinct. (#637)
* Make KeyVaultPropertySource extend PropertySource to avoid get all property. (#637)
* Rix error. (#637)
* Fix gradle build error. (#637)
* Add some test property in application.properties. (#637)
* Fix mvn build failure. (#637)
* Add another test case: keyVaultValueContainSpel. (#637)
* Make the sample simple: Just keep the basic function. (#637)
* No logic change, just format code. (#637)
* No logic change, just make code easier to read. (#637)
* No logic change, just make code easier to read. (#637)
* Add test: test SpEL in key vault. (#637)
* No logic change, just make code easier to read. (#637)
* Remove useless dependency. (#637)
Co-authored-by: Rujun Chen <rujche@microsoft.com>
* Deliver multiple KeyVault support
* Add AZURE_CLIENT_SECRET check to POM
* Fixed the postfix parameter to be normalizedName and added additional explanation
* Changes .names to .order
* Rework properties to use inline syntax
* Added multiple key vault support to README
* Adjust integration tests
* Fixes integration tests
* Added clarification on the need to migrate the existing key vault configuration if multiple key vaults are to be used
* Prepend application id to User-Agent header
* shorten UA header application id
* apply the naming convention for UA header application id
* add UA header application id name convention
Co-authored-by: Xiaolu Dai <xiada@microsoft.com>
* release 2.2.3
* try fix MSI with App Service
* try fix MSI with App Service
* ignore msi with app service test case
* try fix MSI with App Service
* try fix MSI with App Service
* upgrade to 2.2.4-SNAPSHOT
* change from adal to msal
* fix assert msg
* add debug log
* remove debug info
* comment out resource cleanup
* try to fix IT of MSI with App Service
* uncomment resource cleanup
The given properties for customizing endpoints for tenant-id do not work with spring boot 2.1.1 or later
Co-authored-by: Zhou Liu <sumeng.liuz@gmail.com>