In AEM as a Cloud Service, the OSGi configuration values that can be used include Inline, secret, and
environment-specific. These configurations provide flexibility and security for managing
environment-specific settings and sensitive information.
Inline Configurations: Inline configurations are directly embedded within the code and are typically
used for straightforward configurations.
Secret Configurations: Secret configurations are used to securely store sensitive information, such as
passwords and API keys. These configurations are managed separately to ensure security.
Environment-Specific Configurations: Environment-specific configurations allow you to tailor settings
for different environments (e.g., development, staging, production) without changing the underlying
codebase.
Example of using these configurations:
Inline Configuration:
{
"service.url": "https://api.example.com"
}
Secret Configuration: Managed through Adobe IMS and not directly embedded in the code.
Environment-Specific Configuration:
{
"runmode": "dev",
"service.timeout": "30"
}
Reference:
Managing OSGi Configurations in AEM
Adobe IMS for Secrets Management