GoogleCloudPlatform / android-docs-samples

Apache License 2.0
375 stars 596 forks source link

Speech - Restricted API key credential a valid authentication alternative? #40

Closed MattLaurie closed 6 years ago

MattLaurie commented 6 years ago

With the Speech example would using an API key credential suitably restricted by package name and SHA-1 certificate fingerprint be a valid authentication alternative?

I am just not keen on creating and maintaining a server-side endpoint solely to obtain an access token, as suggested for production applications, if I can avoid it.