---
title: "Discussion on \"No key on the server: how we let our CMS call AI\" | Hashnode"
description: "Discussion on \"No key on the server: how we let our CMS call AI\". How to call AI from a CMS with no Google credential on the server, using a Cloud Run proxy, HMAC checks, rate limits, and safe publishing fallbacks."
url: "https://hashnode.com/posts/no-key-on-the-server-how-we-let-our-cms-call-ai/6b0f12030504fa7cefb3a585"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [No key on the server: how we let our CMS call AI](https://blog.harshnahaswani.com/no-key-on-the-server-how-we-let-our-cms-call-ai?utm_source=hashnode&utm_medium=feed)

How to call AI from a CMS with no Google credential on the server, using a Cloud Run proxy, HMAC checks, rate limits, and safe publishing fallbacks.

1d ago · 10 min read · blog.harshnahaswani.com  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#google-cloud-platform](https://hashnode.com/tag/google-cloud-platform)
-   [#google-cloud-run](https://hashnode.com/tag/google-cloud-run)
-   [#llm](https://hashnode.com/tag/llm)
-   [#llm-security](https://hashnode.com/tag/llm-security)
-   [#hmac](https://hashnode.com/tag/hmac)
-   [#api-integration](https://hashnode.com/tag/api-integration)

## Written by

[Harshna Haswani](https://hashnode.com/@Harshna)

@Harshna · India

  
[View profile](https://hashnode.com/@Harshna)

In Love with Software development

## Responses 1

Markdown supported · ⌘↵ to post

[Olivia](https://hashnode.com/@oliviacreates)

[1d ago](https://hashnode.com/posts/no-key-on-the-server-how-we-let-our-cms-call-ai/6b0f12030504fa7cefb3a585/comment/6b0f2f9da120dcdc595af8ef)

The Cloud Run proxy with HMAC checks is a neat pattern — the CMS never has to hold credentials at all, and the allow-list keeps the surface small. I like that the keys stay entirely on the server side where they can be rotated without touching the CMS.
