#Api Key config

1 messages · Page 1 of 1 (latest)

wanton hare
#

I have an api Key in my application.properties file in my spring boot app but when I try it to push on the GitHub so it gives me an error that the secret key will not be pushed to GitHub ! ..

Can someone help me what to do in this case ?

sage tartanBOT
#

<@&1004656351647117403> please have a look, thanks.

faint wind
#

Yes, don't push secrets.

nova sail
#

don't publish secrets in repositories

faint wind
#

There's a reason you get the warning.

#

Read it from a file you don't push, a key vault, ... But don't push it!

formal frost
nova sail
#

easiest way is from an env

faint wind