image.png

pip3 install boto3 설치

여기 코드에 맨 밑에

  print(secret)
    return secret

get_secret()

이거를 추가해준다

결과

image.png