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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南