Description
Jenkins version : 2.204.2
azure-keyvault plugin : 2.0
OS: Debian GNU/Linux
I am trying to integrate Jenkins with Azure Key Vault (AKV). I added a service principal in Jenkins credentials. I used Cert method for secret. Once the service principal is added, it verifies successfully.
The next step was to configure the Azure Key vault plugin from main Jenkins configured. I mentioned the Key vault URL and selected the service principal I added in the Jenkins key store. After Hitting the verification "Test Connection" it waits for several seconds and then returns following error
"504 Gateway Time-out"
I tested the same thing with again by defining the same service principal in Jenkins but instead of using the Cert method, I provide Client secret. Using the SPN definition for configuring Azure Key Vault seems to work fine.
Summarizing the issue:
If I use service principal based on CERT to configure Azure Key vault in Jenkins, it returns "504 Gateway Time-out"