79390680

Date: 2025-01-27 12:17:42
Score: 3
Natty:
Report link

Considering maven usage, you could use maven profiles with properties and reference those in the application.yml

pom.xml

<project ...>
    
    <profiles>
        <profile>
            (...)
            <properties>
                <kafka.key>${SOME_KEY_STOREPWD}</kafka.key>
            </properties>
        </profile>
    </profiles>
</project>

application.yml

kafka:
  ssl:
    key-password: '@kafka.key@'

See also:

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: lzzgabriel