Search code examples
google-apps-scriptgoogle-apigoogle-workspacegoogle-apps-marketplacegmail-addons

How can we store data securely in google when developing Gmail addon using Google app script?


I am creating a Gmail addon, my doubt was how can I save some secure and confidential information on Google side so that I can use it later in my code. Does Google provide some kind of secured storage mechanism?


Solution

  • If you're talking about Google Cloud, you can check this documentation about Local File Storage Security.

    Also, Apps Script offers Cache Service that allows you to access a cache for short term storage of data:

    • Public caches are for things that are not dependent on which user is accessing your script.
    • Private caches are for things which are user-specific, like settings or recent activity.