We deployed our complete application in AWS environment and We find AWS Secret Manager is the right choice to store the secrets for the database and a few other components.
Our ultimate aim is not to store any credentials in the config file / database. It is achieved using AWS Secret Manager.
But when I try to connect the AWS Secret Manager for retrieving the secret value, I see it expects a field like "secret-id" as shown below, I need to protect this secret-id in some location so that I can use this in the application for accessing the secret value.
aws secretsmanager get-secret-value --secret-id tutorials/MyFirstTutorialSecret