Skip to content

Commit

Permalink
add: example
Browse files Browse the repository at this point in the history
  • Loading branch information
spennymac committed Mar 8, 2021
1 parent 5224cde commit d0292cb
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,19 @@ PySecretary is a python secrets library
* Free software: MIT license
* Documentation: https://pysecretary.readthedocs.io.


Features
Examples
--------
.. code-block:: python
import os
from pysecretary import pysecretary
os.environ["PYSECRETARY"] = "test"
value = pysecretary.get("env://PYSECRETARY")
print(value)
* TODO - vault integration
value = pysecretary.get("env://PATH")
print(value)
Credits
-------
Expand Down

0 comments on commit d0292cb

Please sign in to comment.