line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!perl |
2
|
|
|
|
|
|
|
# vim: softtabstop=4 tabstop=4 shiftwidth=4 ft=perl expandtab smarttab |
3
|
|
|
|
|
|
|
# ABSTRACT: Perl API for HashiCorp's Vault (RabbitMQ) |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# See also https://github.com/hashicorp/vault-ruby |
6
|
|
|
|
|
|
|
# And https://github.com/ianunruh/hvac |
7
|
|
|
|
|
|
|
# And https://www.vaultproject.io/api/index.html |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package WebService::HashiCorp::Vault::Secret::RabbitMQ; |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
20
|
use Moo; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
11
|
|
12
|
|
|
|
|
|
|
our $VERSION = '0.03'; # VERSION |
13
|
2
|
|
|
2
|
|
652
|
use namespace::clean; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
extends 'WebService::HashiCorp::Vault::Secret::LeasableBase'; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
has '+mount' => ( is => 'ro', default => 'rabbitmq' ); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |