Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.39 KB

EnableKeyVaultForAppSourceApp.md

File metadata and controls

18 lines (14 loc) · 1.39 KB

#12 Enable KeyVault access for your AppSource App during development and/or tests

For AppSource apps, if you want to enable KeyVault access for your app (as described here you can add the access to this keyvault in your local development environment or your pipelines (for running tests) by adding 3 secrets to either the GitHub repo or your KeyVault. Based on this walkthrough you will need to create 3 secrets:

  • A KeyVaultClientId, which is the Client ID for the Microsoft Entra application registration with access to the KeyVault.
  • A KeyVaultCertificateUrl, pointing to a certificate which gives you access to the Microsoft Entra application registration.
  • A KeyVaultCertificatePassword, which is the password for this certificate.

In the case of KeyVault access for apps, it is not enough to just add the secrets, you will also have to add information in the .AL-Go\settings.json that this app uses this KeyVault. Add these three settings

"KeyVaultCertificateUrlSecretName": "KeyVaultCertificateUrl",
"KeyVaultCertificatePasswordSecretName": "KeyVaultCertificatePassword",
"KeyVaultClientIdSecretName": "KeyVaultClientId",

With this, containers set up for build pipelines or development environments will have access to this keyvault.


back