gpg Key Upload error: Invalid domain

34 views
Skip to first unread message

Kay

unread,
Mar 21, 2017, 10:12:24 AM3/21/17
to GAM for G Suite
Hi,

when I, according to https://github.com/jay0lee/GAM/wiki/ExamplesAccountAuditing#creatinguploading-a-gpg-key, try to upload the key to another domain, it gives the following:

$ gpg --export --armor -a "SysAdmins" | gam select h2 audit uploadkey

ERROR: 605 - Invalid domain.

I've tried an existing key for another domain and a fresh one. Both times the sam error.

Can someone help please?

Thanks!
Kay

Ross Scroggs

unread,
Mar 21, 2017, 10:55:51 AM3/21/17
to google-ap...@googlegroups.com
Kay,

Set the environment variable GA_DOMAIN to your domain.
export GA_DOMAIN=domain.com

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/ad689da3-0e6e-471e-9ea1-7297ec57ad7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kay

unread,
Mar 21, 2017, 11:02:20 AM3/21/17
to GAM for G Suite
Awesome!
Thank you. :-)
Reply all
Reply to author
Forward
0 new messages