WebService::HashiCorp::Vault::Secret::LeasableBase - Perl API for HashiCorp's Vault (Secret)
version 0.002
package WebService::HashiCorp::Vault::Secret::Yours; use Moo; extends 'WebService::HashiCorp::Vault::Secret::LeasableBase'; my $obj = WebService::HashiCorp::Vault::Secret::Yours->new( path => 'yours', %others );
This base class is not intented to be used directly
my $auth = $backend->auth();
Returns
The 'auth' field of the Vault servers response.
my $credentials = $backend->creds($name);
Generates dynamic credentials based upon the named role
Paramaters
A hashref containing the credentials
my $obj = WebService::HashiCorp::Vault::Secret::Yours->new( path => 'yours' ); my $path = $obj->path();
Provides the path where the Secret service instance is mounted.
It is read-only once the object created.
WebService::HashiCorp::Vault
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.