[][src]Crate ansible_vault

Decrypting of Ansible vault 1.1 files and streams.

This crate provides the read_vault function which will decrypt an ansible vault and yield a byte buffer of the plaintext. It detects incorrect vault secrets and incorrectly formatted vaults, and yields the appropriate errors.

Enums

Error

The error type for decrypting Ansible vaults.

Functions

read_vault

Decrypt an ansible vault stream using a key.

read_vault_from_file

Decrypt an ansible vault file using a key.

Type Definitions

Result

A specialized Result type for decrypting Ansible vaults.