package Ġfi . f mi . ti u ha Ċ Ċ import Ġsoftware . amazon . aw ssdk . services . secrets manager . Secrets Manager Client Ċ import Ġsoftware . amazon . aw ssdk . services . secrets manager . model . Get Secret Value Request Ċ Ċ object ĠSec rets Manager Ġ{ ĊĠĠĠ Ġprivate Ġval Ġclient Ġ= ĠSec rets Manager Client . builder () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. region ( Config . aws Region ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠ Ġfun Ġget Secret Value ( secret Id : ĠString ): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġresponse Ġ= Ġclient . get Secret Value Ġ{ Ġit . secret Id ( secret Id ) Ġ} ĊĠĠĠĠĠĠĠ Ġreturn Ġresponse . secret String () ĊĠĠĠ Ġ} Ċ }