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
title: Continious Identity Verification at the Application Layer
4
+
title: Continuous Identity Verification at the Application Layer
5
5
description: Learn how Pomerium uses JWTs for identity and context verification, how it fits into a zero trust environment, and four ways to validate the JWT in your upstream service.
Copy file name to clipboardexpand all lines: content/docs/deploy/core.mdx
+28-4
Original file line number
Diff line number
Diff line change
@@ -102,8 +102,17 @@ We also provide container images on [Docker Hub](https://hub.docker.com/r/pomeri
102
102
Example usage:
103
103
104
104
```bash
105
+
# config.yaml is your Pomerium configuration.
106
+
# See https://www.pomerium.com/docs/deploy/core#configuration
107
+
#
108
+
# Note: The external port (8443) can be changed without affecting your route configuration
109
+
# as long as your routes don't specify explicit ports. See
110
+
# https://pomerium.com/docs/reference/routes/from#port-matching-behavior for more information
105
111
docker pull pomerium/pomerium:latest
106
-
docker run --rm -it -p 443:443 pomerium/pomerium:latest --version
112
+
docker run --rm -it \
113
+
-p 8443:443 \
114
+
-v $(pwd)/config.yaml:/pomerium/config.yaml \
115
+
pomerium/pomerium:latest
107
116
```
108
117
109
118
If you plan to run on port 443 in a rootless environment, you may need extra [capabilities](https://linux-audit.com/linux-capabilities-hardening-linux-binaries-by-removing-setuid/) or choose a non-privileged port.
@@ -140,11 +149,26 @@ Pomerium is configured via [configuration variables](/docs/reference) (environme
140
149
141
150
```yaml title="config.yaml"
142
151
# Minimal example route
152
+
#
153
+
# Generate a shared secret by running head -c32 /dev/urandom | base64
154
+
# More on shared secrets at https://www.pomerium.com/docs/reference/shared-secret
143
155
shared_secret: REPLACE_ME
156
+
157
+
# Generate a cookie secret by running head -c32 /dev/urandom | base64
158
+
# More on cookie secrets at https://www.pomerium.com/docs/reference/cookies#cookie-secret
144
159
cookie_secret: REPLACE_ME
145
-
idp_provider: google
146
-
idp_client_id: REPLACE_ME
147
-
idp_client_secret: REPLACE_ME
160
+
161
+
# If the Authenticate Service URL is not set, the Pomerium Hosted Authenticate Service will be used.
162
+
# See https://www.pomerium.com/docs/reference/service-urls#authenticate-service-url
163
+
#
164
+
# authenticate_service_url: REPLACE_ME
165
+
#
166
+
# For more information on identity provider settings, see https://pomerium.com/docs/reference/identity-provider-settings
0 commit comments