WebService::HashiCorp::Vault::Secret::PostgreSQL - Perl API for HashiCorp's Vault (PostgreSQL)
version 0.004
use WebService::HashiCorp::Vault; my $vault->new(%args); # Grab the PostgreSQL secret backend object my $postgresql = $vault->secret( backend => 'postgresql' ); # Grab a generated credential for the database $postgresql->cred($name);
The PostgreSQL Secret Backend handling for HashiCorps Vault server software. To be used via WebService::HashiCorp::Vault.
my $credentials = $backend->creds($name); Generates dynamic credentials based upon the named role
Paramaters
Returns
A hashref containing the credentials
Dean Hamstead <dean@bytefoundry.com.au>
This software is copyright (c) 2017 by Dean Hamstad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WebService::HashiCorp::Vault, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::HashiCorp::Vault
CPAN shell
perl -MCPAN -e shell install WebService::HashiCorp::Vault
For more information on module installation, please visit the detailed CPAN module installation guide.