Metadata-Version: 2.1
Name: ansible-vault
Version: 2.0.0
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: =============
        ansible-vault
        =============
        
        .. image:: https://github.com/tomoh1r/ansible-vault/workflows/test/badge.svg
           :target: https://github.com/tomoh1r/ansible-vault/actions?query=workflow%3Atest
        
        .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
            :target: https://github.com/python/black
        
        This project aim to R/W an ansible-vault yaml file.
        
        **This is not Ansible official project.**
        
        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: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Provides-Extra: dev
Provides-Extra: release
