This extension provides a way to use AWS Secrets in your MULE configuration properties
On startup, this extension will resolve any properties that start with "aws-secrets::" from AWS secrets manager using the AWS Secrets API / aws-java-sdk-secretsmanager
Add this dependency to your application pom.xml
<groupId>org.mule.extensions</groupId>
<artifactId>aws-secrets-property-provider</artifactId>
<version>1.0.0</version>
<classifier>mule-plugin</classifier>
Example using the lookup in a property file
my-aws-property=${aws-secret::secret-key}
If you'd like to return a specific key, you can use the pound symbol, ie
my-user-pass=${aws-secret::credentials#username}/${aws-secret::credentials#password}
See the following file for an example using in a flow test-mule-config.xml