# \#api-security

**URL:** https://discuss.google.dev/tag/api-security/368.md

[Latest](https://discuss.google.dev/latest.md) · [Categories](https://discuss.google.dev/categories.md) · [Tags](https://discuss.google.dev/tags.md)

---

## [What Are the Best Practices for Securing API Keys in Web Applications?](https://discuss.google.dev/t/what-are-the-best-practices-for-securing-api-keys-in-web-applications/385247)

<div class="topic-metadata">

**Author:** [@Richard\_Wright](https://discuss.google.dev/u/Richard_Wright)\
**Replies:** 3\
**Last updated:** [July 31, 2026, 1:53am UTC](https://discuss.google.dev/t/what-are-the-best-practices-for-securing-api-keys-in-web-applications/385247 "2026-07-31T01:53:52Z")

</div>

I’m working on a web application that uses several third-party APIs, and I’m trying to follow the best security practices for managing API keys. I understand that exposing API keys in client-side code can create security…

---

## [Failing to capture X-Apigee.client.connection received from client](https://discuss.google.dev/t/failing-to-capture-x-apigee-client-connection-received-from-client/323929)

<div class="topic-metadata">

**Author:** [@rammohan1](https://discuss.google.dev/u/rammohan1)\
**Replies:** 2\
**Last updated:** [January 25, 2026, 1:46pm UTC](https://discuss.google.dev/t/failing-to-capture-x-apigee-client-connection-received-from-client/323929 "2026-01-25T13:46:24Z")

</div>

Hi @Dino I am trying to capture the X-Apigee.client.connection header value request received from client but even after using the extract variable policy and java script it was not showing in proxy request flow and not…

---

## [OAuth Verification - Homepage requirement clarification needed](https://discuss.google.dev/t/oauth-verification-homepage-requirement-clarification-needed/318185)

<div class="topic-metadata">

**Author:** [@stylkonst](https://discuss.google.dev/u/stylkonst)\
**Replies:** 2\
**Last updated:** [January 8, 2026, 7:50am UTC](https://discuss.google.dev/t/oauth-verification-homepage-requirement-clarification-needed/318185 "2026-01-08T07:50:09Z")

</div>

Hi everyone, The Problem: My homepage was behind a login page, so Google rejected my OAuth verification with “Homepage does not explain the purpose of your app” error. I fixed this by creating a public homepage that ex…

---

## [Cloud Computing and Its Impact on Modern Engineering](https://discuss.google.dev/t/cloud-computing-and-its-impact-on-modern-engineering/311601)

<div class="topic-metadata">

**Author:** [@Uttamgowdru\_06](https://discuss.google.dev/u/Uttamgowdru_06)\
**Replies:** 2\
**Last updated:** [January 2, 2026, 2:32pm UTC](https://discuss.google.dev/t/cloud-computing-and-its-impact-on-modern-engineering/311601 "2026-01-02T14:32:45Z")

</div>

Discussion points: Shift from on-premise to cloud Scalability and cost efficiency Role of cloud in startups and enterprises Best for intro-level discussions

---

## [GMT to EST conversion](https://discuss.google.dev/t/gmt-to-est-conversion/292953)

<div class="topic-metadata">

**Author:** [@Aravind\_1](https://discuss.google.dev/u/Aravind_1)\
**Replies:** 2\
**Last updated:** [December 8, 2025, 8:59am UTC](https://discuss.google.dev/t/gmt-to-est-conversion/292953 "2025-12-08T08:59:08Z")

</div>

Hello Team, I wants to convert Current Date/Time to EST Date/Time, to do some lookback period validation on one out API’s. Could you please suggest the code to do the above requirement?

---

## [Generating refresh token and access token using JWT](https://discuss.google.dev/t/generating-refresh-token-and-access-token-using-jwt/154599)

<div class="topic-metadata">

**Author:** [@L0kesh](https://discuss.google.dev/u/L0kesh)\
**Replies:** 1\
**Last updated:** [December 2, 2025, 3:35pm UTC](https://discuss.google.dev/t/generating-refresh-token-and-access-token-using-jwt/154599 "2025-12-02T15:35:42Z")

</div>

during user authentication a jwt token is generated with users necessary data as payload. how to use this jwt token to generate access and refresh token for google API’s

---

## [Data Visualisations with Routes API data](https://discuss.google.dev/t/data-visualisations-with-routes-api-data/279145)

<div class="topic-metadata">

**Author:** [@steven\_squire](https://discuss.google.dev/u/steven_squire)\
**Replies:** 3\
**Last updated:** [November 3, 2025, 12:30am UTC](https://discuss.google.dev/t/data-visualisations-with-routes-api-data/279145 "2025-11-03T00:30:35Z")

</div>

I want to use the routes API to create isochrone maps that show where its faster to take transit than drive. I want to save these maps and share them but I don’t know if this breaks the rules in terms of caching data. I …

---

## [\[URGENT\] Project cannot access Gemini API (404 Not Found) after all configuration steps completed. Console UI is also failing](https://discuss.google.dev/t/urgent-project-cannot-access-gemini-api-404-not-found-after-all-configuration-steps-completed-console-ui-is-also-failing/271177)

<div class="topic-metadata">

**Author:** [@Ahmad\_Musyaffak](https://discuss.google.dev/u/Ahmad_Musyaffak)\
**Replies:** 6\
**Last updated:** [October 8, 2025, 6:40pm UTC](https://discuss.google.dev/t/urgent-project-cannot-access-gemini-api-404-not-found-after-all-configuration-steps-completed-console-ui-is-also-failing/271177 "2025-10-08T18:40:09Z")

</div>

Hello, I am facing a persistent "404 Not Found" error when trying to call the Gemini API, and I have exhausted all possible troubleshooting steps. Even the Google Cloud Console itself is now failing to load basic pages …

---

## [SAML Signature Verification and Code Compatibility](https://discuss.google.dev/t/saml-signature-verification-and-code-compatibility/267828)

<div class="topic-metadata">

**Author:** [@playarun93](https://discuss.google.dev/u/playarun93)\
**Replies:** 1\
**Last updated:** [September 24, 2025, 10:05pm UTC](https://discuss.google.dev/t/saml-signature-verification-and-code-compatibility/267828 "2025-09-24T22:05:06Z")

</div>

I have a couple of questions and would appreciate your inputs In the context of a SOAP proxy(WS-Security), Can we use validate SAML assertion policy to verify an X.509 signature, or do we need to rely on a Java callout…

---

## [API Gateway logging secret API key](https://discuss.google.dev/t/api-gateway-logging-secret-api-key/176714)

<div class="topic-metadata">

**Author:** [@dhairyashil-w](https://discuss.google.dev/u/dhairyashil-w)\
**Replies:** 2\
**Last updated:** [July 14, 2025, 11:05pm UTC](https://discuss.google.dev/t/api-gateway-logging-secret-api-key/176714 "2025-07-14T23:05:21Z")

</div>

Hi, I have created an API gateway with Cloud Function as a backend. To authenticate the user we are using API key. But when I check the logs for the api the jsonpayload clearly shows the API KEY SECRET value. How can I …

---

## [Implementation of a Java callout that performs WS-Security Decryp and Encrypt is failing](https://discuss.google.dev/t/implementation-of-a-java-callout-that-performs-ws-security-decryp-and-encrypt-is-failing/190880)

<div class="topic-metadata">

**Author:** [@ThiagoSantos](https://discuss.google.dev/u/ThiagoSantos)\
**Replies:** 11\
**Last updated:** [June 12, 2025, 7:53pm UTC](https://discuss.google.dev/t/implementation-of-a-java-callout-that-performs-ws-security-decryp-and-encrypt-is-failing/190880 "2025-06-12T19:53:45Z")

</div>

Hello comunity, I’m trying to use this solution to create WSSec decrypt and encrypt policies in Apigee: DinoChiesa/Apigee-Java-WsSec-RsaEncryption: a configurable custom policy for Apigee, which performs encryption or d…

---

## [OAuth2 Pushed Authorization Requests (PAR) with Apigee](https://discuss.google.dev/t/oauth2-pushed-authorization-requests-par-with-apigee/189737)

<div class="topic-metadata">

**Author:** [@gaeshi](https://discuss.google.dev/u/gaeshi)\
**Replies:** 2\
**Last updated:** [May 28, 2025, 12:48am UTC](https://discuss.google.dev/t/oauth2-pushed-authorization-requests-par-with-apigee/189737 "2025-05-28T00:48:24Z")

</div>

We are building an OAuth2 proxy that needs to support Pushed Authorization Requests (PAR) as defined in RFC 9126, published in 2021. Does Apigee natively support PAR? If not, are there any plans or roadmap items to sup…

---

## [Service Callout Routing Issue in Post-Client Flow with Load Balancer Configuration](https://discuss.google.dev/t/service-callout-routing-issue-in-post-client-flow-with-load-balancer-configuration/188992)

<div class="topic-metadata">

**Author:** [@rana\_ritik](https://discuss.google.dev/u/rana_ritik)\
**Replies:** 1\
**Last updated:** [May 13, 2025, 9:15pm UTC](https://discuss.google.dev/t/service-callout-routing-issue-in-post-client-flow-with-load-balancer-configuration/188992 "2025-05-13T21:15:40Z")

</div>

Problem Statement: During the implementation of a Service Callout within a Post-Client Flow in Apigee, the service callout works as expected when using a hardcoded target URL. However, when attempting to use a Target Ser…

---

## [How to authenticate a client app (JavaScript based complete frontend application)](https://discuss.google.dev/t/how-to-authenticate-a-client-app-javascript-based-complete-frontend-application/188789)

<div class="topic-metadata">

**Author:** [@meenakshisundar](https://discuss.google.dev/u/meenakshisundar)\
**Replies:** 4\
**Last updated:** [May 11, 2025, 3:56am UTC](https://discuss.google.dev/t/how-to-authenticate-a-client-app-javascript-based-complete-frontend-application/188789 "2025-05-11T03:56:51Z")

</div>

Is there any way to authenticate a client app(JavaScript based complete frontend application) only & without user authentication(since it can be used by any user) which consumes a Apigee API proxy? Is there any solution…

---

## [Issue with Apigee-Java-MultipartForm-V2 on Apigee X](https://discuss.google.dev/t/issue-with-apigee-java-multipartform-v2-on-apigee-x/186435)

<div class="topic-metadata">

**Author:** [@EdwinFerreira](https://discuss.google.dev/u/EdwinFerreira)\
**Replies:** 3\
**Last updated:** [April 26, 2025, 7:15pm UTC](https://discuss.google.dev/t/issue-with-apigee-java-multipartform-v2-on-apigee-x/186435 "2025-04-26T19:15:44Z")

</div>

Master dchiesa1, I hope you’re having a great day. I am currently using the Apigee-Java-MultipartForm-V2 JAR, and it works perfectly in my local environment. However, when I deploy it to the Dev environment on Apigee X,…

---

## [Access GCP Secret Manager from Apigee](https://discuss.google.dev/t/access-gcp-secret-manager-from-apigee/95326)

<div class="topic-metadata">

**Author:** [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Replies:** 9\
**Last updated:** [April 25, 2025, 4:30pm UTC](https://discuss.google.dev/t/access-gcp-secret-manager-from-apigee/95326 "2025-04-25T16:30:57Z")

</div>

Hi everyone, I’m just wondering how I can retrieve a secret value from GCP Secret Manager using existing policies (not third parties). We’d like to get the secret and issue a JWT token. Thanks.

---

## [Learn API Security with Apigee - Virtual Workshop on April 29th!](https://discuss.google.dev/t/learn-api-security-with-apigee-virtual-workshop-on-april-29th/186983)

<div class="topic-metadata">

**Author:** [@AlexET](https://discuss.google.dev/u/AlexET)\
**Replies:** 1\
**Last updated:** [April 24, 2025, 6:47am UTC](https://discuss.google.dev/t/learn-api-security-with-apigee-virtual-workshop-on-april-29th/186983 "2025-04-24T06:47:53Z")

</div>

Join our virtual workshop on April 29th at 9AM PT to learn API Security fundamentals and get hands-on experience with Apigee. Understand how to protect your APIs using modern security principles and even see a demo of A…

---

## [Apigee API proxy - block all requests that include file upload](https://discuss.google.dev/t/apigee-api-proxy-block-all-requests-that-include-file-upload/125547)

<div class="topic-metadata">

**Author:** [@Tri-Thong](https://discuss.google.dev/u/Tri-Thong)\
**Replies:** 7\
**Last updated:** [April 8, 2025, 4:48pm UTC](https://discuss.google.dev/t/apigee-api-proxy-block-all-requests-that-include-file-upload/125547 "2025-04-08T16:48:46Z")

</div>

Hi, We are using Apigee X and we require our API proxies to block all requests that include file uploads. Currently, as a temporary solution, we have implemented a JavaScript code to parse the request header’s content-…

---

## [Does Apigee Hybrid runtime support Workload Identity federation as KSA direct connect mode in AKS?](https://discuss.google.dev/t/does-apigee-hybrid-runtime-support-workload-identity-federation-as-ksa-direct-connect-mode-in-aks/180748)

<div class="topic-metadata">

**Author:** [@tawatchaiw](https://discuss.google.dev/u/tawatchaiw)\
**Replies:** 4\
**Last updated:** [March 14, 2025, 3:42pm UTC](https://discuss.google.dev/t/does-apigee-hybrid-runtime-support-workload-identity-federation-as-ksa-direct-connect-mode-in-aks/180748 "2025-03-14T15:42:36Z")

</div>

Hello everyone, We have been trying to enable Workload Identity federation with the KSA direct connect type for Apigee Hybrid runtime 1.14.0 in AKS for the past month but have not been successful. So, I’m not sure if it…

---

## [Stop Policy execution](https://discuss.google.dev/t/stop-policy-execution/181668)

<div class="topic-metadata">

**Author:** [@dareenhamdy](https://discuss.google.dev/u/dareenhamdy)\
**Replies:** 1\
**Last updated:** [February 19, 2025, 2:49pm UTC](https://discuss.google.dev/t/stop-policy-execution/181668 "2025-02-19T14:49:06Z")

</div>

i need to control executing a policy or not depending on the running env For example i need to execute CORS policy only on dev and test but not on production I don’t want to set a config with the env name ? any other s…

---

## [HTTP referrer restriction issue with Geocoding Api and Maps Javascript Api](https://discuss.google.dev/t/http-referrer-restriction-issue-with-geocoding-api-and-maps-javascript-api/148357)

<div class="topic-metadata">

**Author:** [@zmunir93](https://discuss.google.dev/u/zmunir93)\
**Replies:** 2\
**Last updated:** [February 10, 2025, 1:43am UTC](https://discuss.google.dev/t/http-referrer-restriction-issue-with-geocoding-api-and-maps-javascript-api/148357 "2025-02-10T01:43:50Z")

</div>

I have an application that is hosted on an azure website. Now that it is hosted on on a website, i removed the restriction from IP address to Website restriction. I’ve followed the documentation and the API will not work…

---

## [Implementation of a Java callout that performs WS-Security Signing and Validating it's failing](https://discuss.google.dev/t/implementation-of-a-java-callout-that-performs-ws-security-signing-and-validating-its-failing/177780)

<div class="topic-metadata">

**Author:** [@pedrofrzmatos](https://discuss.google.dev/u/pedrofrzmatos)\
**Replies:** 11\
**Last updated:** [February 6, 2025, 9:19am UTC](https://discuss.google.dev/t/implementation-of-a-java-callout-that-performs-ws-security-signing-and-validating-its-failing/177780 "2025-02-06T09:19:32Z")

</div>

Hello community, We have a configuration that is working with “1-14-0-apigee-2” but when we do the exact same configuration for version “1-14-0-apigee-3” it’s failing. https://github.com/DinoChiesa/Apigee-Java-WsSec-Si…

---

## [Sign Saml Response with Keystore](https://discuss.google.dev/t/sign-saml-response-with-keystore/180487)

<div class="topic-metadata">

**Author:** [@DomenicoP](https://discuss.google.dev/u/DomenicoP)\
**Replies:** 2\
**Last updated:** [February 4, 2025, 5:53pm UTC](https://discuss.google.dev/t/sign-saml-response-with-keystore/180487 "2025-02-04T17:53:58Z")

</div>

Hello everyone, I wanted to ask if anyone knows how, after creating a SAML Assertion through the appropriate policy, insert this assertion in a SAML Response and sign it with the same keystore used to sign the assertion.…

---

## [Keystore with 256 bit ECDSA key for Mutual TLS](https://discuss.google.dev/t/keystore-with-256-bit-ecdsa-key-for-mutual-tls/154227)

<div class="topic-metadata">

**Author:** [@Abesh](https://discuss.google.dev/u/Abesh)\
**Replies:** 10\
**Last updated:** [February 3, 2025, 10:39am UTC](https://discuss.google.dev/t/keystore-with-256-bit-ecdsa-key-for-mutual-tls/154227 "2025-02-03T10:39:36Z")

</div>

Hello All, We are trying to establish mutual TLS connection with one of our backend target systems. We have been shared with private key and certificate. While trying to create the required keystore for the connection, …

---

## [APIGEEX External Token Verification, VerifyJWT or Oauth2-VerifyAccessToken](https://discuss.google.dev/t/apigeex-external-token-verification-verifyjwt-or-oauth2-verifyaccesstoken/153561)

<div class="topic-metadata">

**Author:** [@mlan01](https://discuss.google.dev/u/mlan01)\
**Replies:** 11\
**Last updated:** [February 2, 2025, 6:10pm UTC](https://discuss.google.dev/t/apigeex-external-token-verification-verifyjwt-or-oauth2-verifyaccesstoken/153561 "2025-02-02T18:10:10Z")

</div>

Hello all, I am a first time poster. I have been experimenting with APIGEE for a month. One of my objectives is to build a proof of concept showing how to best use externally generated tokens using client\_credentials gr…

---

## [API Gateway logging secret API key](https://discuss.google.dev/t/api-gateway-logging-secret-api-key/104900)

<div class="topic-metadata">

**Author:** [@Szyszy](https://discuss.google.dev/u/Szyszy)\
**Replies:** 4\
**Last updated:** [January 27, 2025, 11:09am UTC](https://discuss.google.dev/t/api-gateway-logging-secret-api-key/104900 "2025-01-27T11:09:58Z")

</div>

Hi When you create API Key in console it shows you your API key. Then you have button to reveal this secret. But in logs it’s there visible always. Why? api\_key: "AI api\_key\_state: “VERIFIED”

---

## [Apigee X: 2 Way SSL Authentication for API proxies](https://discuss.google.dev/t/apigee-x-2-way-ssl-authentication-for-api-proxies/179573)

<div class="topic-metadata">

**Author:** [@LuckyEK](https://discuss.google.dev/u/LuckyEK)\
**Replies:** 6\
**Last updated:** [January 24, 2025, 1:25pm UTC](https://discuss.google.dev/t/apigee-x-2-way-ssl-authentication-for-api-proxies/179573 "2025-01-24T13:25:54Z")

</div>

Objective: I want to set up MTLS for our API proxies so API consumers can connect via our APIs on Apigee X. From my research in different forums and docs, we understand that MTLS Northbound for Apigee X must be handled …

---

## [Apigee X credentials/API Key expiration and rotation](https://discuss.google.dev/t/apigee-x-credentials-api-key-expiration-and-rotation/128382)

<div class="topic-metadata">

**Author:** [@Tri-Thong](https://discuss.google.dev/u/Tri-Thong)\
**Replies:** 2\
**Last updated:** [January 22, 2025, 9:37pm UTC](https://discuss.google.dev/t/apigee-x-credentials-api-key-expiration-and-rotation/128382 "2025-01-22T21:37:45Z")

</div>

Hi, We are using Apigee X. We can set the expiration of credentials in App. However, we would also need to rotate the credential/API Key when it has expired. Besides having workaround cronjob to do check everyday, does…

---

## [IP whitelisting in the internet facing environment, where public Ip's are dynamic](https://discuss.google.dev/t/ip-whitelisting-in-the-internet-facing-environment-where-public-ips-are-dynamic/179179)

<div class="topic-metadata">

**Author:** [@Mitra\_Subburaj](https://discuss.google.dev/u/Mitra_Subburaj)\
**Replies:** 6\
**Last updated:** [January 22, 2025, 2:16pm UTC](https://discuss.google.dev/t/ip-whitelisting-in-the-internet-facing-environment-where-public-ips-are-dynamic/179179 "2025-01-22T14:16:51Z")

</div>

Hello , We have a usecase where a client asked us to implement whitelisting and allow only a set of IP’s provided by them. The public IP’s provided by them has been static and we don’t have any issues implementing them,…

---

## [Sachin Duggal : How Can I Integrate an API into My Bag Manufacturing Website?](https://discuss.google.dev/t/sachin-duggal-how-can-i-integrate-an-api-into-my-bag-manufacturing-website/176730)

<div class="topic-metadata">

**Author:** [@emilianosmith](https://discuss.google.dev/u/emilianosmith)\
**Replies:** 2\
**Last updated:** [December 26, 2024, 5:19pm UTC](https://discuss.google.dev/t/sachin-duggal-how-can-i-integrate-an-api-into-my-bag-manufacturing-website/176730 "2024-12-26T17:19:39Z")

</div>

Hi everyone, I’m Sachin Duggal, the owner of a business that specializes in manufacturing laptop and travel bags. I’m looking to integrate an API into my website to improve customer experience and streamline operations. …

[Next page](https://discuss.google.dev/tag/api-security/368.md?match_all_tags=true&page=1&tags%5B%5D=api-security)
