Metadata-Version: 1.1
Name: ansible-vault
Version: 1.0.2
Summary: R/W an ansible-vault yaml file
Home-page: https://github.com/jptomo/ansible-vault
Author: Tomohiro NAKAMURA
Author-email: quickness.net@gmail.com
License: GPLv3
Description: =============
        ansible-vault
        =============
        
        This project aim to R/W an ansible-vault yaml file
        
        (This package develop with Ansible version 1.9.1's ansible-vault.)
        
        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)
