You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -141,6 +164,9 @@ An example config looks like this
141
164
# only required if using authStyle="param"
142
165
# authParam: "api_key",
143
166
167
+
# optional, if using authStyle="header"
168
+
# authType: "Basic",
169
+
144
170
# first keyType listed here will be the default if a
145
171
# keyType is not specified in the commandline options to # compare
146
172
keyTypes: ['test', 'live'],
@@ -181,6 +207,8 @@ APICOM_STAGING_TEST_KEY=XXXX
181
207
APICOM_STAGING_LIVE_KEY=XXXX
182
208
```
183
209
210
+
If your server requires authorization in request params, set authStyle="param" and authParam to the request parameter name the server expects. If your server uses the HTTP Authoization header, then set authStyle="header" and (optionally) authType to what auth type prefix the server expects, such as "Basic" or "Bearer" - this can be omitted if your server takes bare keys in the Authoization header.
211
+
184
212
Our config defines two types of keys - test and live. It also defines two key environments. One for "prod" and one for "staging," the host configs for "local" and "user" are both configured to look in the "staging" key env"
0 commit comments