store a large key use in EB

0

Hi,

I'm developping a node js site in EB and inside i use Google API. For this i have a large private key

-----BEGIN PRIVATE KEY-----\nihriohioerhfierjfirejfi=\n-----END PRIVATE KEY-----\n

I tried to store it inside environment variable but it's limited with 256 characters. EC2 key pair value has the same size limit So my question is: Where do i have to store this key and how can i use it inside my node js app? I found this link but i'm not sure if it's the right way and it's not enough explain (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/https-storingprivatekeys.html)

Thanks for your help

1 回答
2
已接受的回答

AWS Secrets manager should help you with this. https://aws.amazon.com/secrets-manager/

AWS
Rishi
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则