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

Add google cloud dns #327

Open
codefromthecrypt opened this issue Mar 8, 2015 · 6 comments
Open

Add google cloud dns #327

codefromthecrypt opened this issue Mar 8, 2015 · 6 comments

Comments

@codefromthecrypt
Copy link
Contributor

Should be easy as the api is very similar to route53

https://cloud.google.com/dns/api/v1beta1/

credential type should be "bearerToken" (also easy)

We could later add support for a JWTBearerTokenFlow, to automate issue of bearer tokens for the google dns oauth scopes, given an account email and a private key

@codefromthecrypt codefromthecrypt added this to the denominator-4.5.0 milestone Mar 11, 2015
@erjohnso
Copy link

Anyone that wants to pick this up can ping me at erjohnso [at] google [dot] com and I can see about getting you some free credits for development.

Regarding auth, we have two file formats (JSON and P12). If code is run on a Google Compute Engine instance with proper scopes (dns), you can use a 'refresh' token by talking to GCE's internal metadata service. Happy to provide more details when needed.

@codefromthecrypt
Copy link
Contributor Author

Thanks, @erjohnso WRT the metadata service, this seems to behave like IAM instance roles. In this case, when someone doesn't specify credentials to route53, the implicit provider tries to access the metadata api. Here's the test case https://github.com/Netflix/denominator/blob/master/route53/src/test/java/denominator/route53/InstanceProfileCredentialsProviderTest.java

@codefromthecrypt
Copy link
Contributor Author

@erjohnso so.. "clouddns" is taken. What should be the short name for GoogleCloudDNS?

@erjohnso
Copy link

@adriancole works for me! I actually like that better anyway so people know it's Google.

@codefromthecrypt
Copy link
Contributor Author

ok "googleclouddns" it is!

@milesward
Copy link

I'd love to see this get built; anything my folks can do to help?

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

No branches or pull requests

3 participants