Environment variables is a good feature in AEMaaCS to change OSGi service configuration in runtime without redeployment. Sometimes, project has to have a lot of env variables, especially if you are running several sites on the same program. That's why I would like to have an option to set a description or note for env variable in the Environment Configuration modal in Cloud Manager.
Use-case:
I can provide few use cases:
1. Imagine you have 2 brand that are running on AEMaaCS. Each of them should pull data from third-party service by schedule. Sometimes there are cases when you need to change a frequency for pulling data for both services or service URL. For example: BRAND1_SERVICE_URL is an env variable with a 3rd party service URL to provide data for brand1, BRAND2_SERVICE_URL is an env variable with a 3rd party service URL to provide data for brand2, BRAND1_SERVICE_CRON is an env variable with a cron expression for brand1 service, BRAND2_SERVICE_CRON is an env variable with a cron expression for brand2 service. I would like to provide some notes for like "3rd-party service for brand 1. Example: https://api.service1.con/api/v1 " or "Every 5 hours: 0 0 */5 * * ? | Every 5 mins: 0 */5 * * * ?".
2. When you need to follow concept of secrets rotation (like for CDN: CDN_PURGEKEY_081324, CDN_PURGEKEY_111324) you can forget about last changed key even if you named it using data format. Some description or note for env variable might help to provide more clarity.
Current/Experienced Behavior:
Currently such option is absent.
Improved/Expected Behavior:
-
Environment Details (AEM version/service pack, any other specifics if applicable):
Adding OSGi Configurations via Environment Variables in AMS.
I want to add some OSGi configurations through environment variables in Adobe Managed Services (AMS). While I see an option to add environment variables in Adobe Cloud Service, I couldn’t find a similar feature in AMS. Could you suggest the best way to achieve this in AMS?