Skip to content

nodesocket/aws_smps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Systems Manager Parameter Store (AWS_SMPS) PHP class

Optimized for use with PHP 8.0.

See example.php for a full example.

API

constructor(string $region = null, string $profile = null, string $version = 'latest')
put(string $type, string $name, string $value, string $description = null, array $tags = [])
get(array $parameters, bool $with_decryption = true)
get_path(string $path, bool $recursive = true, bool $with_decryption = true)
list(array $filters = [])
delete(array $parameters)

Class constants

Use the following class constants when calling put() as the function argument $type.

AWS_SMPS::STRING
AWS_SMPS::STRING_LIST
AWS_SMPS::SECURE_STRING

Get the version of AWS_SMPS using the class constant:

AWS_SMPS::VERSION