Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding API key to travis. To prevent exposing the API key #3

Open
Yog9 opened this issue Apr 28, 2020 · 9 comments
Open

Adding API key to travis. To prevent exposing the API key #3

Yog9 opened this issue Apr 28, 2020 · 9 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Yog9
Copy link
Owner

Yog9 commented Apr 28, 2020

No description provided.

@Yog9 Yog9 added good first issue Good for newcomers help wanted Extra attention is needed labels Apr 28, 2020
@var-sha612
Copy link

I can work on it can you assign it to me?

@var-sha612
Copy link

Hi @Yog9 can you try this https://stackoverflow.com/questions/9338428/using-secret-api-keys-on-travis-ci ? I am unable to build forked repos in travis so just wanted to see if this works for you. if not I am planning to clone and try building from my side

@jcstang
Copy link

jcstang commented Jun 3, 2020

@junevarsha correct me if i'm wrong, but I believe you could hide the api keys in a .env file, I've done it with Node projects. BUT I have no clue if that would help with Travis CI.

@Yog9
Copy link
Owner Author

Yog9 commented Jun 5, 2020

@junevarsha Sure I will try this and let you know

@var-sha612 var-sha612 removed their assignment Oct 24, 2020
@SelloFotoyi
Copy link

Hey @Yog9 , did you work on it? I'm a front-end newbie and looking for repos to contribute to. I can add .env file (like @jcstang suggested) and make the API key private.

@white-wolf97
Copy link

Hi! Can I help with this? I would be happy to contribute!

@KAUSTUBHDUBEY790
Copy link

hi! is the issue resolved? or i can take it.

@charu167
Copy link

I tried adding the api key to a .env file and then accessing it in the API call function but it doesn't work. All .env variables come as undefined even though you've defined those.

@Haneef-Shaik
Copy link

@Yog9 is the issue still Open?
if yes can you assign or ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

8 participants