Skip to content

Commit

Permalink
Added README notes
Browse files Browse the repository at this point in the history
  • Loading branch information
hkage committed Jun 10, 2024
1 parent ecddb22 commit 87ba777
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,23 @@ Example call:
--dump-file=/tmp/dump.gz \
-v
So that the password for dumping does not have to be entered manually, it can also be entered as an environment var
``PGPASSWORD``:

.. code-block::
$ PGPASSWORD=password pganonymize --schema=myschema.yml \
--dbname=test_database \
--user=username \
--password=mysecret \
--host=db.host.example.com \
--dump-file=/tmp/dump.gz \
-v
.. warning::

Currently only the ``dump-file`` operation supports environment variables.

Docker
~~~~~~

Expand Down

0 comments on commit 87ba777

Please sign in to comment.