Skip to content

Commit 9d7e4c9

Browse files
authored
Merge pull request #753 from sarahsimpers/DOCSP-18483
(DOCSP-18483) Updates docs to use correct credential objects for programmatic API keys
2 parents 947158c + c7a3b4e commit 9d7e4c9

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

source/includes/steps-kind-quick-start.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ content: |
7777
7878
kubectl -n mongodb \
7979
create secret generic ops-manager-admin-key \
80-
--from-literal="user=<publicKey>" \
81-
--from-literal="publicApiKey=<privateKey>"
80+
--from-literal="publicKey=<publicKey>" \
81+
--from-literal="privateKey=<privateKey>"
8282
8383
---
8484
stepnum: 6

source/tutorial/create-operator-credentials.txt

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ To create your |k8s| secret:
6767

6868
kubectl -n <metadata.namespace> \
6969
create secret generic <myCredentials> \
70-
--from-literal="user=<publicKey>" \
71-
--from-literal="publicApiKey=<privateKey>"
70+
--from-literal="publicKey=<publicKey>" \
71+
--from-literal="privateKey=<privateKey>"
7272

7373
.. note::
7474

@@ -77,6 +77,12 @@ To create your |k8s| secret:
7777
namespace with the |k8s-secrets| and |k8s-configmaps|. The
7878
|k8s-op-short| does not use either the secrets or ConfigMaps.
7979

80+
.. note::
81+
82+
The deprecated version of this command specifies a ``user`` and ``publicApiKey``
83+
instead of a ``publicKey`` and ``privateKey``. |k8s-op-short| accepts
84+
either version for authentication.
85+
8086
3. Invoke the following |k8s| command to verify your secret:
8187

8288
.. code-block:: sh
@@ -96,6 +102,6 @@ To create your |k8s| secret:
96102

97103
Data
98104
====
99-
publicApiKey: 31 bytes
100-
user: 22 bytes
105+
privateKey: 31 bytes
106+
publicKey: 22 bytes
101107

0 commit comments

Comments
 (0)