#security
- Currentonly Scopes in Google Apps Script
Learn about the @OnlyCurrentDoc annotation and currentonly scopes in Google Apps Script. Understand why and how to use them, along with their critical limitations regarding Advanced Services and external APIs.
- Secure Secrets in Google Apps Script
Do not hardcode secrets in Google Apps Script. Use Properties Service or Google Cloud Secret Manager.
- Securing Gmail AI Agents against Prompt Injection with Model Armor
Securing Gmail AI agents against Prompt Injection and untrusted content using Google Cloud Model Armor.
- Apps Script Service Account Impersonation
Avoid downloading private service account keys by using impersonation in Apps Script to obtain access tokens.