AWS secrets manager in spring boot
Need to add dependency
// Sample snippet
GetSecretValueRequest getSecretValueRequest = new GetSecretValueRequest()
.withSecretId(secretName);
GetSecretValueResult getSecretValueResult = null;
getSecretValueResult = client.getSecretValue(getSecretValueRequest);
System.out.println("Secret " + getSecretValueResult.getSecretString());
System.out.println("Name " + getSecretValueResult.getName());