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.
NAME
WebService::HashiCorp::Vault::Secret::LeasableBase - Perl API for HashiCorp's Vault (Secret)
VERSION
version 0.03
SYNOPSIS
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
);
DESCRIPTION
This base class is not intented to be used directly
METHODS
auth
my $auth = $backend->auth();
Returns
The 'auth' field of the Vault servers response.
creds
my $credentials = $backend->creds($name);
Generates dynamic credentials based upon the named role
Paramaters
- $name (string: required) - Specifies the name of the role to create credentials against. This is part of the request URL.
Returns
A hashref containing the credentials
path
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.
SEE ALSO
AUTHOR
Dean Hamstead <dean@fragfest.com.au>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2023 by Dean Hamstad.
This is free software, licensed under:
The MIT (X11) License