WebService::HashiCorp::Vault::Secret::MongoDB - Perl API for HashiCorp's Vault (MongoDB)
version 0.03
use WebService::HashiCorp::Vault; my $vault->new(%args); # Grab the MongoDB secret backend object my $mongodb = $vault->secret( backend => 'cassandra' ); # Grab a generated credential for the database $mongodb->cred($name);
The MongoDB 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
Parameters
Returns
A hashref containing the credentials
Dean Hamstead <dean@fragfest.com.au>
This software is Copyright (c) 2023 by Dean Hamstad.
This is free software, licensed under:
The MIT (X11) License
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.