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
* add version badges to README ([d962230](https://github.com/developmentseed/stac-auth-proxy/commit/d9622300275f4488cf1cda90a60f2f4ee013aa69))
18
+
***architecture:** add data filtering diagrams ([48afd7e](https://github.com/developmentseed/stac-auth-proxy/commit/48afd7e353144b98e5b97bfc87cc067f34933634))
19
+
* build out separate documentation website ([#78](https://github.com/developmentseed/stac-auth-proxy/issues/78)) ([6c9b6ba](https://github.com/developmentseed/stac-auth-proxy/commit/6c9b6ba15c63a39410a71cac13de87daa84284f3))
20
+
***cicd:** correct filename in deploy-mkdocs workflow ([5f00eca](https://github.com/developmentseed/stac-auth-proxy/commit/5f00eca440926652d4bb7abcf20748aac96e16bb))
***deployment:** Add details of deploying STAC Auth Proxy ([aaf3802](https://github.com/developmentseed/stac-auth-proxy/commit/aaf3802ed97096ffb1233875b1be59230da2a043))
23
+
* describe installation via pip ([bfb9ca8](https://github.com/developmentseed/stac-auth-proxy/commit/bfb9ca8e20fa86d248e9c5c375eb18359206761b))
24
+
***docker:** Add OpenSearch backend stack to docker-compose ([#71](https://github.com/developmentseed/stac-auth-proxy/issues/71)) ([d779321](https://github.com/developmentseed/stac-auth-proxy/commit/d779321e992b0ae724520a38d3353cd7bbb07fcf))
25
+
* fix getting started link ([8efe5e5](https://github.com/developmentseed/stac-auth-proxy/commit/8efe5e5d6c449d91b2f957bad259649008bcc308))
26
+
***tips:** add details about CORS configuration ([#84](https://github.com/developmentseed/stac-auth-proxy/issues/84)) ([fc1e217](https://github.com/developmentseed/stac-auth-proxy/commit/fc1e2173e778f148f4f23cabe19611eb43c2df6a))
***user-guide:** Move configuration & installation to user guide ([170f001](https://github.com/developmentseed/stac-auth-proxy/commit/170f0015a6349cfdd45b7ea13464082128f70b7b))
35
+
***user-guide:** Mv tips to user-guide ([d829800](https://github.com/developmentseed/stac-auth-proxy/commit/d829800fa838cb34a977e135e7576e4dc0ea03b7))
36
+
***user-guide:** Reword authentication to authorization ([37fa12d](https://github.com/developmentseed/stac-auth-proxy/commit/37fa12d315ba6bd0f01a41cf906510a9f149e88b))
Copy file name to clipboardExpand all lines: docs/user-guide/configuration.md
+63-63Lines changed: 63 additions & 63 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,57 +8,57 @@ The application is configurable via environment variables.
8
8
9
9
: STAC API URL
10
10
11
-
**Type:** HTTP(S) URL
12
-
**Required:** Yes
11
+
**Type:** HTTP(S) URL
12
+
**Required:** Yes
13
13
**Example:** `https://your-stac-api.com/stac`
14
14
15
15
### `WAIT_FOR_UPSTREAM`
16
16
17
17
: Wait for upstream API to become available before starting proxy
18
18
19
-
**Type:** boolean
20
-
**Required:** No, defaults to `true`
19
+
**Type:** boolean
20
+
**Required:** No, defaults to `true`
21
21
**Example:** `false`, `1`, `True`
22
22
23
23
### `CHECK_CONFORMANCE`
24
24
25
25
: Ensure upstream API conforms to required conformance classes before starting proxy
26
26
27
-
**Type:** boolean
28
-
**Required:** No, defaults to `true`
27
+
**Type:** boolean
28
+
**Required:** No, defaults to `true`
29
29
**Example:** `false`, `1`, `True`
30
30
31
31
### `ENABLE_COMPRESSION`
32
32
33
33
: Enable response compression
34
34
35
-
**Type:** boolean
36
-
**Required:** No, defaults to `true`
35
+
**Type:** boolean
36
+
**Required:** No, defaults to `true`
37
37
**Example:** `false`, `1`, `True`
38
38
39
39
### `HEALTHZ_PREFIX`
40
40
41
41
: Path prefix for health check endpoints
42
42
43
-
**Type:** string
44
-
**Required:** No, defaults to `/healthz`
43
+
**Type:** string
44
+
**Required:** No, defaults to `/healthz`
45
45
**Example:** `''` (disabled)
46
46
47
47
### `OVERRIDE_HOST`
48
48
49
49
: Override the host header for the upstream API
50
50
51
-
**Type:** boolean
52
-
**Required:** No, defaults to `true`
51
+
**Type:** boolean
52
+
**Required:** No, defaults to `true`
53
53
**Example:** `false`, `1`, `True`
54
54
55
55
### `ROOT_PATH`
56
56
57
57
: Path prefix for the proxy API
58
58
59
-
**Type:** string
60
-
**Required:** No, defaults to `''` (root path)
61
-
**Example:** `/api/v1`
59
+
**Type:** string
60
+
**Required:** No, defaults to `''` (root path)
61
+
**Example:** `/api/v1`
62
62
**Note:** This is independent of the upstream API's path. The proxy will handle removing this prefix from incoming requests and adding it to outgoing links.
63
63
64
64
## Authentication
@@ -67,41 +67,40 @@ The application is configurable via environment variables.
**Note** A comma-separated list of the intended recipient(s) of the JWT. At least one audience value must match the `aud` (audience) claim present in the incoming JWT. If undefined, the API will not impose a check on the `aud` claim
90
-
89
+
**Note:** A comma-separated list of the intended recipient(s) of the JWT. At least one audience value must match the `aud` (audience) claim present in the incoming JWT. If undefined, the API will not impose a check on the `aud` claim
91
90
92
91
### `DEFAULT_PUBLIC`
93
92
94
93
: Default access policy for endpoints
95
94
96
-
**Type:** boolean
97
-
**Required:** No, defaults to `false`
95
+
**Type:** boolean
96
+
**Required:** No, defaults to `false`
98
97
**Example:** `false`, `1`, `True`
99
98
100
99
### `PRIVATE_ENDPOINTS`
101
100
102
101
: Endpoints explicitly marked as requiring authentication and possibly scopes
103
102
104
-
**Type:** JSON object mapping regex patterns to HTTP methods OR tuples of an HTTP method and string representing required scopes
103
+
**Type:** JSON object mapping regex patterns to HTTP methods OR tuples of an HTTP method and string representing required scopes
105
104
**Required:** No, defaults to the following:
106
105
```json
107
106
{
@@ -117,13 +116,14 @@ The application is configurable via environment variables.
117
116
118
117
: Endpoints explicitly marked as not requiring authentication, used when `DEFAULT_PUBLIC == False`
119
118
120
-
**Type:** JSON object mapping regex patterns to HTTP methods
119
+
**Type:** JSON object mapping regex patterns to HTTP methods
121
120
**Required:** No, defaults to the following:
122
121
```json
123
122
{
124
123
"^/$": ["GET"],
125
124
"^/api.html$": ["GET"],
126
125
"^/api$": ["GET"],
126
+
"^/conformance$": ["GET"],
127
127
"^/docs/oauth2-redirect": ["GET"],
128
128
"^/healthz": ["GET"]
129
129
}
@@ -133,8 +133,8 @@ The application is configurable via environment variables.
133
133
134
134
: Enable authentication extension in STAC API responses
135
135
136
-
**Type:** boolean
137
-
**Required:** No, defaults to `true`
136
+
**Type:** boolean
137
+
**Required:** No, defaults to `true`
138
138
**Example:** `false`, `1`, `True`
139
139
140
140
## OpenAPI / Swagger UI
@@ -143,30 +143,30 @@ The application is configurable via environment variables.
143
143
144
144
: Path of OpenAPI specification, used for augmenting spec response with auth configuration
145
145
146
-
**Type:** string or null
147
-
**Required:** No, defaults to `null` (disabled)
148
-
**Example:** `/api`
146
+
**Type:** string or null
147
+
**Required:** No, defaults to `/api`
148
+
**Example:** `''` (disabled)
149
149
150
150
### `OPENAPI_AUTH_SCHEME_NAME`
151
151
152
152
: Name of the auth scheme to use in the OpenAPI spec
153
153
154
-
**Type:** string
155
-
**Required:** No, defaults to `oidcAuth`
154
+
**Type:** string
155
+
**Required:** No, defaults to `oidcAuth`
156
156
**Example:** `jwtAuth`
157
157
158
158
### `OPENAPI_AUTH_SCHEME_OVERRIDE`
159
159
160
160
: Override for the auth scheme in the OpenAPI spec
161
161
162
-
**Type:** JSON object
163
-
**Required:** No, defaults to `null` (disabled)
164
-
**Example:**
162
+
**Type:** JSON object
163
+
**Required:** No, defaults to `null` (disabled)
164
+
**Example:**
165
165
```json
166
166
{
167
-
"type": "http",
168
-
"scheme": "bearer",
169
-
"bearerFormat": "JWT",
167
+
"type": "http",
168
+
"scheme": "bearer",
169
+
"bearerFormat": "JWT",
170
170
"description": "Paste your raw JWT here. This API uses Bearer token authorization.\n"
171
171
}
172
172
```
@@ -175,16 +175,16 @@ The application is configurable via environment variables.
175
175
176
176
: Path of Swagger UI, used to indicate that a custom Swagger UI should be hosted, typically useful when providing accompanying `SWAGGER_UI_INIT_OAUTH` arguments
177
177
178
-
**Type:** string or null
179
-
**Required:** No, defaults to `null` (disabled)
180
-
**Example:** `/api.html`
178
+
**Type:** string or null
179
+
**Required:** No, defaults to `/api.html`
180
+
**Example:** `''` (disabled)
181
181
182
182
### `SWAGGER_UI_INIT_OAUTH`
183
183
184
184
: Initialization options for the [Swagger UI OAuth2 configuration](https://swagger.io/docs/open-source-tools/swagger-ui/usage/oauth2/) on custom Swagger UI
0 commit comments