Skip to content

(refacto) Move api secret to env variable#2

Open
yahyayouness wants to merge 1 commit into
octo-woapi:api-keyfrom
yahyayouness:patch-2
Open

(refacto) Move api secret to env variable#2
yahyayouness wants to merge 1 commit into
octo-woapi:api-keyfrom
yahyayouness:patch-2

Conversation

@yahyayouness
Copy link
Copy Markdown

problem:
secret pushed in github

solution:
move secret to env variable with process.env.MYAPIKEY
export MYAPIKEY=ndsvn2g8dnsb9hsg

remark:
We can connect this repo with gitguardian to avoid pushing secret

export MYAPIKEY=ndsvn2g8dnsb9hsg
@yahyayouness yahyayouness changed the title (refacto) move api secret to env variable (refacto) Move api secret to env variable Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant