OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: lrosenman on October 28, 2021, 01:48:03 AM

Title: [SOLVED] Where is the doc on Google Drive P12 key?
Post by: lrosenman on October 28, 2021, 01:48:03 AM
the page you direct to from this help page doesn't have the info anymore.  Where can I get the info for what is needed?
Title: Re: Where is the doc on Google Drive P12 key?
Post by: benyamin on October 28, 2021, 02:16:18 AM
This could be "fun" for you...

Have a look at the manual here:
https://docs.opnsense.org/manual/how-tos/cloud_backup.html (https://docs.opnsense.org/manual/how-tos/cloud_backup.html)

The forum tutorial here:
https://forum.opnsense.org/index.php?topic=11900.0 (https://forum.opnsense.org/index.php?topic=11900.0)

And current Google OAuth2 info here:
https://developers.google.com/identity/protocols/oauth2/service-account (https://developers.google.com/identity/protocols/oauth2/service-account)
Title: Re: Where is the doc on Google Drive P12 key?
Post by: lrosenman on October 28, 2021, 02:21:54 AM
Thanks again, @benyamin.  I'm familiar with this flow but wasn't sure what was needed for OPNsense.  The help text should be updated IMO.

Title: Re: Where is the doc on Google Drive P12 key?
Post by: lrosenman on October 28, 2021, 02:42:01 AM
And done.  Thanks again!
Title: Re: Where is the doc on Google Drive P12 key?
Post by: lrosenman on October 29, 2021, 01:16:42 AM
@franco: What can I do to help get the help text updated?
Title: Re: Where is the doc on Google Drive P12 key?
Post by: Greelan on October 29, 2021, 02:08:43 AM
Create a PR to amend the help text in:

https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/library/Google/API/Drive.php

Probably better to refer the OPNsense docs rather than just the Google page for one element (the key)? Or not have a website link at all
Title: Re: Where is the doc on Google Drive P12 key?
Post by: lrosenman on October 29, 2021, 03:01:03 AM
I don't see the help text in that file? 
Title: Re: Where is the doc on Google Drive P12 key?
Post by: Greelan on October 29, 2021, 03:04:49 AM
Ah, picked the wrong one:

https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/library/OPNsense/Backup/GDrive.php
Title: Re: Where is the doc on Google Drive P12 key?
Post by: lrosenman on October 29, 2021, 03:15:17 AM
https://github.com/opnsense/core/pull/5317

for anyone that can review/approve/merge :)
Title: Re: Where is the doc on Google Drive P12 key?
Post by: Greelan on October 29, 2021, 03:18:24 AM
Maybe fix the typo in "aquire" while you are it [emoji28]
Title: Re: Where is the doc on Google Drive P12 key?
Post by: lrosenman on October 29, 2021, 03:19:49 AM
Done :)