관리-도구
편집 파일: vault.cpython-39.pyc
a �)g�W � @ s� d dl mZmZmZ eZd dlmZ d dlZd dl Z d dl mZ d dl m Z d dlmZ d dlmZ d dlmZmZ d d lmZ d d lmZmZmZ d dlmZ e� ZG dd � d e�Zddd�Z e!dkr�e � dS )� )�absolute_import�division�print_function)�CLIN)� constants)�context)�option_helpers)�AnsibleOptionsError)�to_text�to_bytes)� DataLoader)�VaultEditor�VaultLib�match_encrypt_secret)�Displayc s� e Zd ZdZdZdZdZdZ� fdd�Z� fdd �Z � fd d�Z � fdd �Zdd� Ze d!dd��Zdd� Zd"dd�Zdd� Zdd� Zdd� Zdd� Zdd � Z� ZS )#�VaultCLIa9 can encrypt any structured data file used by Ansible. This can include *group_vars/* or *host_vars/* inventory variables, variables loaded by *include_vars* or *vars_files*, or variable files passed on the ansible-playbook command line with *-e @file.yml* or *-e @file.json*. Role variables and defaults are also included! Because Ansible tasks, handlers, and other objects are data, these can also be encrypted with vault. If you'd like to not expose what variables you are using, you can keep an individual task file entirely encrypted. z ansible-vault�stdinzthe command line argszthe interactive promptc s>