WebService::HashiCorp::Vault::Secret::RabbitMQ - Perl API for HashiCorp's Vault (RabbitMQ)
use WebService::HashiCorp::Vault; my $vault->new(%args); # Grab the RabbitMQ secret backend object my $rabbitmq = $vault->secret( backend => 'rabbitmq' ); # Grab a generated credential for the database $rabbitmq->cred($name);
The RabbitMQ 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
- $name (string: required) - Specifies the name of the role to create credentials against. This is part of the request URL.
A hashref containing the credentials
Dean Hamstead <firstname.lastname@example.org>
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.