Looking for help!The maintainer of this distribution is looking for people to help them improve this module! If you're interested then please contact them via email.
WebService::HashiCorp::Vault::Secret::LeasableBase - Perl API for HashiCorp's Vault (Secret)
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();
The 'auth' field of the Vault servers response.
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
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.
Dean Hamstead <email@example.com>
This software is copyright (c) 2020 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.