Give encryption example

Add an example on how to encrypt a secret.

Change-Id: Ie79726677c3c3ad5204fa6c1b3d3c0dfa25d7ebb
This commit is contained in:
Andreas Jaeger 2018-11-02 14:43:42 +01:00
parent f3b2414e3d
commit 2302c36b8d

View File

@ -481,6 +481,18 @@ the jobs can use.
find ways to safely maintain (and if necessary share) your own backup
copies if you're unable to easily revoke/replace them when lost.
If you want to encrypt a secret, you can use the
``tools/encrypt_secret.py`` script from project
``openstack-infra/zuul``. For example, to encrypt file
``file_with_secret`` for project ``openstack/kolla`` use:
.. code-block:: shell
$ tools/encrypt_secret.py --infile file_with_secret \
--tenant openstack https://zuul.openstack.org openstack/kolla
Periodic Jobs
-------------