Change authorization header to use API key from secrets

Updated the authorization header to use secrets for API key.
This commit is contained in:
Greg Crist 2025-11-18 17:20:51 -08:00 committed by GitHub
parent 9386bb87ca
commit 35ac038a09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,12 +23,12 @@ mcp-servers:
# ---
'https://{KIBANA_URL}/api/agent_builder/mcp',
'--header',
'Authorization:${AUTH_HEADER}'
'Authorization: ApiKey ${{ secrets.ELASTIC_API_KEY }}'
]
# This section maps a GitHub secret to the AUTH_HEADER environment variable
# The 'ApiKey' prefix is required by Elastic
env:
AUTH_HEADER: ApiKey ${{ secrets.ELASTIC_API_KEY }}
#env:
# AUTH_HEADER: ApiKey ${{ secrets.ELASTIC_API_KEY }}
---
# System