NAME

Config::INI::Reader::Encrypted - Read AES encrypted INI files

VERSION

Version 0.01

SYNOPSIS

my $filename = 'myconfig.ini.aes';
my $key = 'It$As3cReT';
my $config =
  eval { Config::INI::Reader::Encrypted->read_file( $filename, $key ); };
if ($@) {
    croak "Unable to decrypt the file";
}

DESCRIPTION

This module is a subclass of Config::INI::Reader that can read encrypted INI files. The idea is that a user can place sentitive settings, such as usernames and passwords, in the INI file and encrypt it. This module can then be used to read and unencrypt the file when needed.

SUBROUTINES/METHODS

read_file

Given a filename and decryption key, this method returns a hashref of the contents of that file.

AUTHOR

Matt Perry, <matt at mattperry.com>

BUGS

Please report any bugs or feature requests to bug-config-ini-reader-encrypted at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Config-INI-Reader-Encrypted. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Config::INI::Reader::Encrypted

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2014 Matt Perry

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Config::INI::Reader