I try to build a connector for Walmart using the C...
# ask-ai
t
I try to build a connector for Walmart using the Cloud version and run into the issue that I can not have a Header like “WM_SVC.NAME” as of the use of a period.
k
Based on the information in the knowledge sources, Airbyte’s connector builder and config-based connector definitions allow you to specify custom header names for API key authentication, including names with periods (e.g., "WM_SVC.NAME"). The documentation provides examples of headers like "X-Auth-Token" and "Api-Token", and does not mention any restriction on using periods in header names for API key authentication. You can configure the injection mechanism and field name as part of the connector definition, and the API key itself is set via the UI or configuration file. For example:
Copy code
yaml authenticator:   type: "ApiKeyAuthenticator"   header: "WM_SVC.NAME"   api_token: "<your-api-key>"
or, using the newer
inject_into
syntax:
Copy code
yaml authenticator:   type: "ApiKeyAuthenticator"   inject_into:     inject_into: "header"     field_name: "WM_SVC.NAME"   api_token: "<your-api-key>"
This should allow you to set a header with a period in its name, such as "WM_SVC.NAME" [API Key Auth (1.7)](https://docs.airbyte.com/platform/1.7/connector-development/connector-builder-ui/authentication#api-key), [ApiKeyAuthenticator Reference](https://docs.airbyte.com/platform/1.7/connector-development/config-based/understanding-the-yaml-file/reference#/definitions/ApiKeyAuthenticator). However, if you are using Airbyte Cloud, there may be platform-specific restrictions or UI limitations not documented in the public sources. The knowledge sources do not mention any explicit restriction on periods in header names for API key authentication, but there is a known issue with periods in Kafka topic names (which is a different context) where periods are replaced with underscores. This does not appear to apply to HTTP header names in connector authentication. If you are experiencing an error specifically in Airbyte Cloud when using a header with a period, and the configuration above does not work, it may be a platform limitation or a bug not covered in the documentation. In that case, you may need to contact Airbyte support for further assistance, as the knowledge sources do not provide a definitive answer for this scenario.