NAME

Amazon::SecretsManager

SYNOPSIS

 my $secrets_mgr = Amazon::SecretsManager->new;
 
 my $secret_list = $secrets_mgr->ListSecrets->{SecretList};
     
 $secrets_mgr->CreateSecret(
     { Name               => 'my-secret',
       SecretString       => '$ecur1ty is not a secure!',
       ClientRequestToken => $secrets_mgr->CreateClientRequestToken
     }
   );
   
 $secrets_mgr->UpdateSecret(
     { SecretId           => 'my-secret',
       SecretString       => $new_secret,
       ClientRequestToken => $secrets_mgr->CreateClientRequestToken
     }
   );
   
my $value = $secrets_mgr->GetSecretValue( { SecretId => 'my-secret' } );

METHODS

See the AWS SecretsManager documentation for a complete reference to the API.

AWS SecretsManager

SEE OTHER

Amazon::API, Amazon::API::Error, Amazon::Credentials

AUTHOR

Rob Lauer - <rlauer6@comcast.net>

LICENSE

(c) Copyright 2022 Robert C. Lauer. All rights reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.