1 year ago

#72421

test-img

user10949197

What is the best way to api key passing to project?

In my database project I am keeping all relavant files in some extra another file and mostly reading and passing to my code to make safer. But what about API keys for projects ? Some people recommend to do as database logic in separate file, some of says pass as command line arguments ? What is the industry standards for those kinda situation.

import testapi

api_obj=testapi.connect('APIKEY')

What is the best way to pass api key to the project ?

Healthy Regards

python

java

api

authentication

parameter-passing

0 Answers

Your Answer

Accepted video resources