Metadata-Version: 1.1
Name: ansible-vault
Version: 1.0.5
Summary: R/W an ansible-vault yaml file
Home-page: https://github.com/tomoh1r/ansible-vault
Author: Tomohiro NAKAMURA
Author-email: quickness.net@gmail.com
License: GPLv3
Description-Content-Type: UNKNOWN
Description: =============
        ansible-vault
        =============
        
        .. image:: https://travis-ci.org/tomoh1r/ansible-vault.svg?branch=master
           :target: https://travis-ci.org/tomoh1r/ansible-vault
        
        This project aim to R/W an ansible-vault yaml file
        
        You can install with pip.
        
        .. code-block:: console
        
           $ pip install ansible-vault
        
        When you have an ansible-vault file, then you can read file. See below.
        
        .. code-block:: python
        
           from ansible_vault import Vault
        
           vault = Vault('password')
           data = vault.load(open('vault.yml').read())
        
        When you have to write data, then you can write data to file. See below.
        
        .. code-block:: python
        
           from ansible_vault import Vault
        
           vault = Vault('password')
           vault.dump(data, open('vault.yml', 'w'))
        
           # also you can get encrypted text
           print(vault.dump(data))
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
