| 1 | #!perl | ||
| 2 | # vim: softtabstop=4 tabstop=4 shiftwidth=4 ft=perl expandtab smarttab | ||
| 3 | # ABSTRACT: Perl API for HashiCorp's Vault (MySQL) | ||
| 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::MySQL; | ||
| 10 | |||
| 11 | 4 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 4 | our $VERSION = '0.04'; # VERSION | |
| 13 | 4 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 4 | extends 'WebService::HashiCorp::Vault::Secret::LeasableBase'; | |
| 16 | |||
| 17 | 4 | has '+mount' => ( is => 'ro', default => 'mysql' ); | |
| 18 | |||
| 19 | |||
| 20 | 4 | 1; | |
| 21 | |||
| 22 | __END__ | ||