Skip to content

Commit e71ab9b

Browse files
committed
Fix capitalisation and add instructions to encrypt pulp key
1 parent 0c7d52b commit e71ab9b

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

doc/source/configuration/vault.rst

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,14 +389,26 @@ To enable tls for pulp using vault generated certificates, we first need to gene
389389
390390
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/vault-generate-pulp-tls.yml
391391
392-
2. Next, enable tls for pulp in pulp.yml
392+
2. Encrypt the generated private key with ansible-vault (use the correct path to your vault password file).
393+
394+
.. code-block::
395+
396+
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/pulp/certificates/pulp.key
397+
398+
Or if environments are being used
399+
400+
.. code-block::
401+
402+
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/pulp/certificates/pulp.key
403+
404+
3. Next, enable tls for pulp in pulp.yml
393405

394406
.. code-block::
395407
396408
# Whether to enable TLS for Pulp.
397409
pulp_enable_tls: true
398410
399-
3. Redeploy pulp
411+
4. Redeploy pulp
400412

401413
.. code-block::
402414

0 commit comments

Comments
 (0)