0

I am using GAE to build an application. I have enable some API's & obtain the keys on the Credentials Menu that I need to put so my application can work on private or public access.

Is there any method or a Function or a Libraries in Java, Python, PHP, and Go to retrieve those keys and store it in a variable? I could not find this in the GAE Documentation or General Question.

1 Answer 1

1

There's no hard set answer for this. I would read these

GAE: best practices for storing secret keys? Read both answers not just the accepted one.

Client Secrets File

Best practices for securely using API keys

To do the actual OAuth I would recommend decorators

Sign up to request clarification or add additional context in comments.

2 Comments

I have came before to the documentation you mentioned. As far as I could understand those documentation are explaining how to 'store'. My question is asking how to 'retrieve' for storing in a variables i.e. $x = Retrieve_function(y); //x = the keys
Look at the link for decorators, scroll down to where it says OAuth2DecoratorFromClientSecrets (talks about oauth_aware) on how to use it. If you just want to get it into a variable you can open the file and read the contents. Its a json file, so the python json reader would work.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.