File tree Expand file tree Collapse file tree 3 files changed +61
-1
lines changed
includes/installation/docker Expand file tree Collapse file tree 3 files changed +61
-1
lines changed Original file line number Diff line number Diff line change 1+ You can use `Cosign <https://github.com/sigstore/cosign >`__ to verify
2+ MongoDB's signature for container images.
3+
4+ This procedure is optional. You do not need to verify MongoDB's
5+ signature to run MongoDB on Docker or any other containerized platform.
6+
7+ To verify MongoDB's container signature, perform the following steps:
Original file line number Diff line number Diff line change @@ -153,4 +153,30 @@ Procedure
153153 readOnly: false,
154154 ok: 1
155155 }
156-
156+
157+ Next Steps (Optional)
158+ ---------------------
159+
160+ .. include:: /includes/installation/docker/verify-signature-intro.rst
161+
162+ .. procedure::
163+ :style: normal
164+
165+ .. step:: Download and install Cosign
166+
167+ For installation instructions, see the `Cosign GitHub repository
168+ <https://github.com/sigstore/cosign>`__.
169+
170+ .. step:: Download the MongoDB Server container image's public key
171+
172+ .. code-block:: sh
173+
174+ curl https://cosign.mongodb.com/server.pem > server.pem
175+
176+ .. step:: Verify the signature
177+
178+ Run the following command to verify the signature by tag:
179+
180+ .. code-block:: sh
181+
182+ COSIGN_REPOSITORY=docker.io/mongodb/signatures cosign verify --insecure-ignore-tlog --key=./server.pem docker.io/mongodb/mongodb-community-server:latest
Original file line number Diff line number Diff line change @@ -168,6 +168,33 @@ Steps
168168 readOnly: false,
169169 ok: 1
170170 }
171+
172+ Next Steps (Optional)
173+ ---------------------
174+
175+ .. include:: /includes/installation/docker/verify-signature-intro.rst
176+
177+ .. procedure::
178+ :style: normal
179+
180+ .. step:: Download and install Cosign
181+
182+ For installation instructions, see the `Cosign GitHub repository
183+ <https://github.com/sigstore/cosign>`__.
184+
185+ .. step:: Download the MongoDB Server container image's public key
186+
187+ .. code-block:: sh
188+
189+ curl https://cosign.mongodb.com/server.pem > server.pem
190+
191+ .. step:: Verify the signature
192+
193+ Run the following command to verify the signature by tag:
194+
195+ .. code-block:: sh
196+
197+ COSIGN_REPOSITORY=docker.io/mongodb/signatures cosign verify --insecure-ignore-tlog --key=./server.pem docker.io/mongodb/mongodb-enterprise-server:latest
171198
172199Learn More
173200----------
You can’t perform that action at this time.
0 commit comments