https://serverless-stack.com/ logo
#help
Title
# help
e

Emanuel Quimper

02/04/2022, 2:16 PM
Hello Quick question 🙂 If I want to access a local file -> "google credentials json file" where should I put this file in the project ?
t

thdxr

02/04/2022, 2:20 PM
specify the path relative from the root of your project
t

Thomas Ankcorn

02/04/2022, 2:35 PM
You should store your google oauth creds in secrets manager!
e

Emanuel Quimper

02/04/2022, 2:44 PM
Secret manager ?
@thdxr thank you
t

thdxr

02/04/2022, 2:46 PM
Thomas is right you should use SSM or Secrets Manager to store a value that your function pulls at runtime
t

Thomas Ankcorn

02/04/2022, 2:48 PM
If the google creds you mention are your client_id and client_secret then you want to take a few steps to make sure they don’t fall into the wrong hands. The sst docs here are really useful https://docs.serverless-stack.com/environment-variables#working-with-secrets
e

Emanuel Quimper

02/04/2022, 2:52 PM
thank you I didn't know. Awesome stuff btw sst love it