{"id":49068,"date":"2026-11-30T08:10:00","date_gmt":"2026-11-30T07:10:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=49068"},"modified":"2026-11-27T17:28:50","modified_gmt":"2026-11-27T16:28:50","slug":"goldengate-ai-service-api-key-leak-in-restapi-log","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/","title":{"rendered":"GoldenGate AI Service API key leak in restapi.log"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I knew that the GoldenGate 26ai AI Service keeps the API key of a provider in a wallet. What I did not expect is that <strong>the key also leaks into <code class=\"nowrap\">restapi.log<\/code><\/strong>, in clear text. It is also written to <strong>the system security log<\/strong>, <code class=\"nowrap\">\/var\/log\/secure<\/code>. I saw it on 23.26.4.0.0 and 23.26.4.0.2. Here is what you should do.<\/p>\n\n\n\n<h2 id=\"provider-registration-in-the-web-ui\" class=\"wp-block-heading\">Provider registration in the web UI<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I registered a Gemini provider with the fake key <code class=\"nowrap\">FAKEKEY-LAB-123456<\/code>. The <strong>Add Provider<\/strong> dialog of the <strong>AI Service<\/strong> page masks the key while I type it:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"420\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/11\/001_goldengate-26ai-ai-service-webui-add-provider-gemini.png\" alt=\"\" class=\"wp-image-49069\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/11\/001_goldengate-26ai-ai-service-webui-add-provider-gemini.png 750w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/11\/001_goldengate-26ai-ai-service-webui-add-provider-gemini-300x168.png 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The browser sends the key in the body of a <code class=\"nowrap\">POST<\/code> request on <code>\/services\/v2\/installation\/aiservice\/providers\/gemini<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"id\": \"gemini\",\n  \"name\": \"GeminiAiStudio\",\n  \"type\": \"gemini\",\n  \"baseUrl\": \"https:\/\/generativelanguage.googleapis.com\/v1beta\",\n  \"authentication\": {\n    \"secret\": \"FAKEKEY-LAB-123456\"\n  }\n}<\/code><\/pre>\n\n\n\n<h2 id=\"key-storage\" class=\"wp-block-heading\">Key storage<\/h2>\n\n\n\n<h3 id=\"provider-configuration\" class=\"wp-block-heading\">Provider configuration<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, let\u2019s see how all of this AI Service registration is handled in GoldenGate 26ai. When registering a new provider, it is added to <code class=\"nowrap\">$OGG_SM_HOME\/var\/lib\/conf\/global.dat<\/code>, in the Service Manager. The <code class=\"nowrap\">authentication<\/code> block of the new provider is empty:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ jq '.global.configData&#091;\"ogg:aiserviceCollection\"].values.providers.items&#091;] | select(.id == \"gemini\")' $OGG_SM_HOME\/var\/lib\/conf\/global.dat\n{\n  \"authentication\": {},\n  \"name\": \"GeminiAiStudio\",\n  \"type\": \"gemini\",\n  \"baseUrl\": \"https:\/\/generativelanguage.googleapis.com\/v1beta\",\n  \"id\": \"gemini\"\n}<\/code><\/pre>\n\n\n\n<h3 id=\"rest-api-installationaiserviceproviders-endpoint\" class=\"wp-block-heading\">REST API <code class=\"nowrap\">installation\/aiservice\/providers<\/code> endpoint<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The REST API returns the provider without its key. Only the information that a key exists is returned. I call it with the Python <code class=\"nowrap\">requests<\/code> module, from a session that sends my credentials:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt;&gt; import requests\n&gt;&gt;&gt; sm = requests.Session()\n&gt;&gt;&gt; sm.auth = (\"ogg\", \"***\")\n&gt;&gt;&gt; url = \"http:\/\/localhost:7840\/services\/v2\"\n&gt;&gt;&gt; sm.get(f\"{url}\/installation\/aiservice\/providers\/gemini\").json()&#091;\"response\"]\n{'id': 'gemini', 'name': 'GeminiAiStudio', 'type': 'gemini', 'baseUrl': 'https:\/\/generativelanguage.googleapis.com\/v1beta', 'authentication': {'type': 'api_key', 'configured': True}, '$schema': 'ogg:provider'}<\/code><\/pre>\n\n\n\n<h3 id=\"deployment-wallet\" class=\"wp-block-heading\">Deployment wallet<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">As expected, the key goes to the wallet <code class=\"nowrap\">ewallet.p12<\/code>, in the directory <code>$OGG_SM_HOME\/var\/lib\/credential\/secureStore<\/code> of the Service Manager. Here is the wallet before the registration:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ls -l $OGG_SM_HOME\/var\/lib\/credential\/secureStore\/ewallet.p12\n-rw-r-----. 1 oracle oinstall 611 Nov 22 15:30 \/u01\/app\/ogg\/deployments\/oggresetsm\/var\/lib\/credential\/secureStore\/ewallet.p12<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After the registration, the wallet is bigger:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ls -l $OGG_SM_HOME\/var\/lib\/credential\/secureStore\/ewallet.p12\n-rw-r-----. 1 oracle oinstall 819 Nov 22 15:33 \/u01\/app\/ogg\/deployments\/oggresetsm\/var\/lib\/credential\/secureStore\/ewallet.p12<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code class=\"nowrap\">AIService.log<\/code> names the entry of the wallet. The key is <code>&lt;provider id&gt;:secret<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ grep gemini $OGG_SM_HOME\/var\/log\/AIService.log\n&#091;...]\n2026-11-22T15:33:55.454+0000 DEBUG|AIService      |AIService                     |  633 ModelCatalogAdapter.cpp  | putInSecureStore: &#091;enter]: key: gemini:secret (Thread 2)\n2026-11-22T15:33:55.552+0000 INFO |AIService      |AIService                     | 1293 ProvidersEndpoint.cpp    | Creating provider 'gemini' (catalog size=1). (Thread 2)\n&#091;...]<\/code><\/pre>\n\n\n\n<h2 id=\"key-in-restapilog\" class=\"wp-block-heading\">Key in <code class=\"nowrap\">restapi.log<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The wallet is the right place for a secret. However, the key is also in <code class=\"nowrap\">restapi.log<\/code>, which records every REST API call with its body:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>2026-11-22 15:33:55.552+0000 INFO |RestAPI.ServiceManager              | Request #47: {\n    \"context\": {\n        \"verb\": \"POST\",\n        \"uri\": \"\/services\/v2\/installation\/aiservice\/providers\/gemini\",\n        \"headers\": {\n            \"Cookie\": \"** Masked **\"\n        },\n        \"authorization\": {\n            \"authUserName\": \"ogg\",\n            \"authMode\": \"Cookie\"\n        }\n    },\n    \"content\": {\n        \"id\": \"gemini\",\n        \"name\": \"GeminiAiStudio\",\n        \"type\": \"gemini\",\n        \"baseUrl\": \"https:\/\/generativelanguage.googleapis.com\/v1beta\",\n        \"authentication\": {\n            \"secret\": \"FAKEKEY-LAB-123456\"\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The session cookie is masked, so the logger knows how to hide a secret. However, the <strong><code class=\"nowrap\">secret<\/code> of the provider is not masked<\/strong>.<\/p>\n\n\n\n<h2 id=\"oci-private-key-and-rejected-requests\" class=\"wp-block-heading\">OCI private key and rejected requests<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The OCI Generative AI provider has a <code class=\"nowrap\">privateKey<\/code> field. I registered it through the REST API with a fake value, and first with a wrong type:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt;&gt; provider = {\"name\": \"OciGenAi\", \"type\": \"oci\",\n...             \"baseUrl\": \"https:\/\/inference.generativeai.eu-frankfurt-1.oci.oraclecloud.com\",\n...             \"authentication\": {\"type\": \"api_key\",\n...                                \"tenancyId\": \"ocid1.tenancy.oc1..aaaaaaaafake\",\n...                                \"compartmentId\": \"ocid1.compartment.oc1..aaaaaaaafake\",\n...                                \"userId\": \"ocid1.user.oc1..aaaaaaaafake\",\n...                                \"keyFingerprint\": \"aa:bb:cc:dd:ee:ff:00:11:22:33:44:55:66:77:88:99\",\n...                                \"privateKey\": \"FAKEOCIKEY-REJECTED-123456\"}}\n&gt;&gt;&gt; r = sm.post(f\"{url}\/installation\/aiservice\/providers\/oci\", json=provider)\n&gt;&gt;&gt; r.status_code, r.json()&#091;\"messages\"]&#091;0]&#091;\"title\"]\n(400, \"The value of property '\/type' is not valid\")<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I then sent it again with the type <code class=\"nowrap\">oci_genai<\/code> and another fake key, and it was accepted:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt;&gt; provider&#091;\"type\"] = \"oci_genai\"\n&gt;&gt;&gt; provider&#091;\"authentication\"]&#091;\"privateKey\"] = \"FAKEOCIKEY-ACCEPTED-123456\"\n&gt;&gt;&gt; r = sm.post(f\"{url}\/installation\/aiservice\/providers\/oci\", json=provider)\n&gt;&gt;&gt; r.status_code, r.json()&#091;\"response\"]&#091;\"type\"]\n(201, 'oci_genai')<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Both private keys are in the log. It does not matter whether the key was accepted or not, <strong>a request that the REST API rejects is logged with its secret<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ grep FAKEOCIKEY $OGG_SM_HOME\/var\/log\/restapi.log\n    \"privateKey\": \"FAKEOCIKEY-REJECTED-123456\"\n    \"privateKey\": \"FAKEOCIKEY-ACCEPTED-123456\"<\/code><\/pre>\n\n\n\n<h2 id=\"reducing-the-exposure\" class=\"wp-block-heading\">Reducing the exposure<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In a previous blog, I went through <a href=\"https:\/\/www.dbi-services.com\/blog\/increase-goldengate-log-retention\/\">GoldenGate log retention<\/a> and the XML files behind it. To remove a key from the active <code class=\"nowrap\">restapi.log<\/code>, there is no need to change them. A <code class=\"nowrap\">DELETE<\/code> call on <code class=\"nowrap\">\/services\/v2\/logs\/restapi<\/code> <strong>rotates the log<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt;&gt; sm.delete(f\"{url}\/logs\/restapi\").json()\n{'$schema': 'api:standardResponse', 'links': &#091;{'rel': 'canonical', 'href': 'http:\/\/localhost:7840\/services\/v2\/logs\/restapi', 'mediaType': 'application\/json'}, {'rel': 'self', 'href': 'http:\/\/localhost:7840\/services\/v2\/logs\/restapi', 'mediaType': 'application\/json'}], 'messages': &#091;]}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The key is now in <code class=\"nowrap\">restapi.log.1<\/code>, and the new <code class=\"nowrap\">restapi.log<\/code> does not contain it. You can then move the old file to a protected location, or delete it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ grep -l FAKEKEY-LAB-123456 $OGG_SM_HOME\/var\/log\/restapi.log*\n\/u01\/app\/ogg\/deployments\/oggresetsm\/var\/log\/restapi.log.1\n$ mv $OGG_SM_HOME\/var\/log\/restapi.log.1 \/tmp\/restapi.log.with-key\n$ grep -l FAKEKEY-LAB-123456 $OGG_SM_HOME\/var\/log\/restapi.log*<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Another (unofficial) way is to just spam the web UI or the adminclient with commands \/ clicks until the <code class=\"nowrap\">restapi.log<\/code> file rotates automatically, which should not take too long.<\/p>\n\n\n\n<h2 id=\"key-in-varlogsecure\" class=\"wp-block-heading\">Key in <code class=\"nowrap\">\/var\/log\/secure<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><code class=\"nowrap\">restapi.log<\/code> is not the only copy. GoldenGate also audits the REST API requests, and sends the audit to <strong>the system security log<\/strong>. On Oracle Linux, this is <code class=\"nowrap\">\/var\/log\/secure<\/code>. The destination is set in <code class=\"nowrap\">$OGG_HOME\/lib\/utl\/logging\/ogg-audit.xml<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ grep appender-ref $OGG_HOME\/lib\/utl\/logging\/ogg-audit.xml\n   !-   \"appender-ref\" at the end of this file.                     -|\n    &lt;appender-ref  name=\"audit.Standard\"\/&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And in <code class=\"nowrap\">\/var\/log\/secure<\/code>, the key is also leaked:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ grep FAKEKEY-LAB-123456 \/var\/log\/secure\nNov 22 15:33:55 ogg26-cdb ServiceManager&#091;15184]: 2026-11-22T15:33:55.460+0000 INFO | 69 {#012 &#091;...] \"uri\": \"\/services\/v2\/installation\/aiservice\/providers\/gemini\", &#091;...] \"authentication\": {#012    \"secret\": \"FAKEKEY-LAB-123456\"#012    }#012    },#012    \"isScaRequest\": true#012    }<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If your server forwards the file to another location, the key might leave the machine.<\/p>\n\n\n\n<h2 id=\"summary\" class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The API key of a provider is saved in the wallet <code class=\"nowrap\">ewallet.p12<\/code> of the Service Manager as <code>&lt;provider id&gt;:secret<\/code>. It is not in <code class=\"nowrap\">global.dat<\/code> and the REST API never returns it.<\/li>\n\n\n\n<li>The request that registers the provider is logged in <code class=\"nowrap\">restapi.log<\/code> with the key in clear text, from the web UI as well as from the REST API.<\/li>\n\n\n\n<li>Rejected requests are logged too.<\/li>\n\n\n\n<li>Rotate <code class=\"nowrap\">restapi.log<\/code> with a <code class=\"nowrap\">DELETE<\/code> call on <code class=\"nowrap\">\/services\/v2\/logs\/restapi<\/code>, then move or delete <code class=\"nowrap\">restapi.log.1<\/code>.<\/li>\n\n\n\n<li>The request is also written with the key to <code class=\"nowrap\">\/var\/log\/secure<\/code> by the audit configured in <code class=\"nowrap\">ogg-audit.xml<\/code>.<\/li>\n\n\n\n<li>Check who can read these files before you send logs to a third party. Change the key at the provider if it may have been read.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I knew that the GoldenGate 26ai AI Service keeps the API key of a provider in a wallet. What I did not expect is that the key also leaks into restapi.log, in clear text. It is also written to the system security log, \/var\/log\/secure. I saw it on 23.26.4.0.0 and 23.26.4.0.2. Here is what you&hellip;&nbsp;<\/p>\n","protected":false},"author":152,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[4133,3787,59],"tags":[22675,8551,22683,22703,22673,22702,3229,22678,1089,13433,22704,25,44],"class_list":["post-49068","post","type-post","status-publish","format-standard","category-database","category-goldengate","category-oracle","tag-26ai","tag-ai-service","tag-aiservice","tag-api-key","tag-goldengate","tag-leak","tag-microservices","tag-ogg","tag-python","tag-rest-api-2","tag-restapi-log","tag-security","tag-troubleshooting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.9 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>GoldenGate AI Service API key leak in restapi.log - dbi services Blog<\/title>\n<meta name=\"description\" content=\"GoldenGate AI Service key of a provider: stored in a wallet, but written in clear text to restapi.log and the secure log.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GoldenGate AI Service API key leak in restapi.log\" \/>\n<meta property=\"og:description\" content=\"GoldenGate AI Service key of a provider: stored in a wallet, but written in clear text to restapi.log and the secure log.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-30T07:10:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/11\/001_goldengate-26ai-ai-service-webui-add-provider-gemini.png\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Julien Delattre\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julien Delattre\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/\"},\"author\":{\"name\":\"Julien Delattre\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/0e990b04385bd7ff84b414bb8d92c544\"},\"headline\":\"GoldenGate AI Service API key leak in restapi.log\",\"datePublished\":\"2026-11-30T07:10:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/\"},\"wordCount\":601,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/001_goldengate-26ai-ai-service-webui-add-provider-gemini.png\",\"keywords\":[\"26ai\",\"ai service\",\"aiservice\",\"api key\",\"goldengate\",\"leak\",\"microservices\",\"ogg\",\"Python\",\"rest api\",\"restapi.log\",\"Security\",\"Troubleshooting\"],\"articleSection\":[\"Database\",\"GoldenGate\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/\",\"name\":\"GoldenGate AI Service API key leak in restapi.log - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/001_goldengate-26ai-ai-service-webui-add-provider-gemini.png\",\"datePublished\":\"2026-11-30T07:10:00+00:00\",\"description\":\"GoldenGate AI Service key of a provider: stored in a wallet, but written in clear text to restapi.log and the secure log.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/001_goldengate-26ai-ai-service-webui-add-provider-gemini.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/001_goldengate-26ai-ai-service-webui-add-provider-gemini.png\",\"width\":750,\"height\":420},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/goldengate-ai-service-api-key-leak-in-restapi-log\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GoldenGate AI Service API key leak in restapi.log\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/0e990b04385bd7ff84b414bb8d92c544\",\"name\":\"Julien Delattre\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/JDE_Web-1-scaled.jpg\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/JDE_Web-1-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/JDE_Web-1-scaled.jpg\",\"caption\":\"Julien Delattre\"},\"description\":\"Julien Delattre, member of the Oracle Team Zurich, has more than five years of experience specializing in Oracle databases, plus expertise in MariaDB and MongoDB. Prior to dbi services, he was a Database Administrator at Atos in Angers, France, and a Data Scientist at Air France in Paris and Apurata in Lima. Julien holds a Master's degree in Computer Science, Data Science, and Statistics from Centrale Paris \\\/ Universit\u00e9 Paris-Saclay.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/julien-delattre\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"GoldenGate AI Service API key leak in restapi.log - dbi services Blog","description":"GoldenGate AI Service key of a provider: stored in a wallet, but written in clear text to restapi.log and the secure log.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/","og_locale":"en_US","og_type":"article","og_title":"GoldenGate AI Service API key leak in restapi.log","og_description":"GoldenGate AI Service key of a provider: stored in a wallet, but written in clear text to restapi.log and the secure log.","og_url":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2026-11-30T07:10:00+00:00","og_image":[{"width":750,"height":420,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/11\/001_goldengate-26ai-ai-service-webui-add-provider-gemini.png","type":"image\/png"}],"author":"Julien Delattre","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Julien Delattre","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/"},"author":{"name":"Julien Delattre","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/0e990b04385bd7ff84b414bb8d92c544"},"headline":"GoldenGate AI Service API key leak in restapi.log","datePublished":"2026-11-30T07:10:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/"},"wordCount":601,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/11\/001_goldengate-26ai-ai-service-webui-add-provider-gemini.png","keywords":["26ai","ai service","aiservice","api key","goldengate","leak","microservices","ogg","Python","rest api","restapi.log","Security","Troubleshooting"],"articleSection":["Database","GoldenGate","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/","url":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/","name":"GoldenGate AI Service API key leak in restapi.log - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/11\/001_goldengate-26ai-ai-service-webui-add-provider-gemini.png","datePublished":"2026-11-30T07:10:00+00:00","description":"GoldenGate AI Service key of a provider: stored in a wallet, but written in clear text to restapi.log and the secure log.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/11\/001_goldengate-26ai-ai-service-webui-add-provider-gemini.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/11\/001_goldengate-26ai-ai-service-webui-add-provider-gemini.png","width":750,"height":420},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/goldengate-ai-service-api-key-leak-in-restapi-log\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"GoldenGate AI Service API key leak in restapi.log"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/0e990b04385bd7ff84b414bb8d92c544","name":"Julien Delattre","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2025\/05\/JDE_Web-1-scaled.jpg","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2025\/05\/JDE_Web-1-scaled.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2025\/05\/JDE_Web-1-scaled.jpg","caption":"Julien Delattre"},"description":"Julien Delattre, member of the Oracle Team Zurich, has more than five years of experience specializing in Oracle databases, plus expertise in MariaDB and MongoDB. Prior to dbi services, he was a Database Administrator at Atos in Angers, France, and a Data Scientist at Air France in Paris and Apurata in Lima. Julien holds a Master's degree in Computer Science, Data Science, and Statistics from Centrale Paris \/ Universit\u00e9 Paris-Saclay.","url":"https:\/\/www.dbi-services.com\/blog\/author\/julien-delattre\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/49068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/152"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=49068"}],"version-history":[{"count":2,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/49068\/revisions"}],"predecessor-version":[{"id":49071,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/49068\/revisions\/49071"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=49068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=49068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=49068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}