Skip to content

Commit b968521

Browse files
committed
don't need (now deleted) keys (!)
1 parent c009c1f commit b968521

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

notebooks/enterprise-search/app-search-engine-exporter.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@
7373
"outputs": [],
7474
"source": [
7575
"# https://www.elastic.co/search-labs/tutorials/install-elasticsearch/elastic-cloud#finding-your-cloud-id\n",
76-
"ELASTIC_CLOUD_ID = \"mjh-app-search-exporter-test:dXMtY2VudHJhbDEuZ2NwLmNsb3VkLmVzLmlvOjQ0MyRlNzE4ZTY5ZTgyYzg0MzlkODMwMTRjMWJlYWIxZWZkMiRlZGUwMTE1MDM1ZjQ0ZjMxYTc5ZDU5MTRhZDQ1MWY1MA==\"\n",
76+
"ELASTIC_CLOUD_ID = getpass(\"Elastic Cloud ID: \")\n",
7777
"\n",
7878
"# https://www.elastic.co/search-labs/tutorials/install-elasticsearch/elastic-cloud#creating-an-api-key\n",
79-
"ELASTIC_API_KEY = \"Z2dpajVKa0I2UW56Zk9xYUtNT086cWNKbmw0ZEFjTnFJbTJIU295MVZHQQ==\"\n",
79+
"ELASTIC_API_KEY = getpass(\"Elastic Api Key: \")\n",
8080
"\n",
8181
"elasticsearch = Elasticsearch(\n",
8282
" # For local development\n",
@@ -106,8 +106,8 @@
106106
"metadata": {},
107107
"outputs": [],
108108
"source": [
109-
"APP_SEARCH_ENDPOINT = \"https://mjh-app-search-exporter-test-b64877.ent.us-central1.gcp.cloud.es.io\"\n",
110-
"APP_SEARCH_PRIVATE_KEY = \"private-iubp52vt6sbc7g8vziwzhor2\"\n",
109+
"APP_SEARCH_ENDPOINT = getpass(\"App Search endpoint: \")\n",
110+
"APP_SEARCH_PRIVATE_KEY = getpass(\"App Search private key: \")\n",
111111
"\n",
112112
"app_search = AppSearch(APP_SEARCH_ENDPOINT, bearer_auth=APP_SEARCH_PRIVATE_KEY)\n",
113113
"\n",

0 commit comments

Comments
 (0)