is this fine Best way to read properties in Spring Boot is by using the @Value annotation for individual properties or by binding them to a configuration class using @ConfigurationProperties. This allows for easy injection of property values from application.properties or application.yml into your components, services, or beans.
@Value("${creds}") private String creds;
in application file define creds=32432432432
it will pick value 324324324