Giter VIP home page Giter VIP logo

Comments (1)

anubhavmishra avatar anubhavmishra commented on July 18, 2024

Hey @marccampbell, good question. The documentation for the production deployment for Hermes is still a work in progress. In general, the domain-wide delegation service account can be used as a service user for Hermes to perform most Google API interactions. In order to use it, please follow the instructions in the README.md here to create the service account and a new key (JSON type) for the service account and download it. Then populate the config.hcl with an auth block using the values from the downloaded JSON key. Here is an example what that might look like:

google_workspace {
.....


 // auth is the configuration for interacting with Google Workspace using a
 // service account.
 auth {
   client_email = "{client-name}@{project-id}.iam.gserviceaccount.com"
   private_key  = "-----BEGIN PRIVATE KEY-----\....."
   subject      = "{hermes-service-user-name}@yourdomain.com"
   token_url    = "https://oauth2.googleapis.com/token"
 }

Here the subject is the Google Workspace user you want to use to perform Hermes operations like sending emails to users or updating document headers, etc.

We are closing this for now but please feel free to reopen it, if this doesn't fix your issue.

from hermes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.