To enable distributed configuration a configuration file must be created and configured to use Parameter Store:

    bootstrap.yml

    See the for all configuration options.

    You can configure shared properties by going into the AWS Console → System Manager → Parameter Store

    Micronaut will use a hierarchy to read the configuration values, and supports String, StringList, and SecureString types.

    For example, if the configuration name /config/application_test/server.url is configured in AWS Parameter Store, then any application connecting to that parameter store can retrieve the value using server.url. If the application has micronaut.application.name configured to be , then a value with the name /config/myapp_test/server.url will override the value just for that application.

    Each level of the tree can be composed of key=value pairs. If you want multiple key value pairs, set the type to ‘StringList’.

    For special secure information, like keys or passwords, use the type “SecureString”. KMS will be automatically invoked when you add and retrieve values and decrypt them with the default key store for your account. If you set the configuration to not use secure strings, they will be returned to you encrypted and you must manually decrypt them.