Chilkat Online Tools

GetRandomPassword phpExt Example

AWS Secrets Manager

<?php

include("chilkat_9_5_0.php");

$authAws->put_AccessKey('AWS_ACCESS_KEY');$authAws->put_SecretKey('AWS_SECRET_KEY');$authAws->put_Region('us-west-2');$authAws->put_ServiceName('secretsmanager');$rest->SetAuthAws($authAws);$success = $rest->Connect('secretsmanager.us-west-2.amazonaws.com',443,true,true);$json->UpdateString('ExcludeCharacters','string');$json->UpdateInt('ExcludeLowercase',123);$json->UpdateInt('ExcludeNumbers',123);$json->UpdateInt('ExcludePunctuation',123);$json->UpdateInt('ExcludeUppercase',123);$json->UpdateInt('IncludeSpace',123);$json->UpdateInt('PasswordLength',123);$json->UpdateInt('RequireEachIncludedType',123);$rest->AddHeader('Content-Type','application/x-amz-json-1.1');$rest->AddHeader('X-Amz-Target','secretsmanager.GetRandomPassword');$json->EmitSb($sbRequestBody);$success = $rest->FullRequestSb('POST','/',$sbRequestBody,$sbResponseBody);$jResp->LoadSb($sbResponseBody);
?>