- Notifications
You must be signed in to change notification settings - Fork4
License
googleapis/google-cloud-php-kms
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Idiomatic PHP client forCloud KMS.
NOTE: This repository is part ofGoogle Cloud PHP. Anysupport requests, bug reports, or development contributions should be directed tothat project.
To begin, install the preferred dependency manager for PHP,Composer.
Now install this component:
$ composer require google/cloud-kms
This component supports both REST over HTTP/1.1 and gRPC. In order to take advantage of the benefits offered by gRPC (such as streaming methods)please see ourgRPC installation guide.
Please see ourAuthentication guide for more informationon authenticating your client. Once authenticated, you'll be ready to start making requests.
useGoogle\ApiCore\ApiException;useGoogle\Cloud\Kms\V1\AutokeyConfig;useGoogle\Cloud\Kms\V1\Client\AutokeyAdminClient;useGoogle\Cloud\Kms\V1\GetAutokeyConfigRequest;// Create a client.$autokeyAdminClient =newAutokeyAdminClient();// Prepare the request message.$request = (newGetAutokeyConfigRequest()) ->setName($formattedName);// Call the API and handle any network failures.try {/** @var AutokeyConfig $response */$response =$autokeyAdminClient->getAutokeyConfig($request);printf('Response data: %s' .PHP_EOL,$response->serializeToJsonString());}catch (ApiException$ex) {printf('Call failed with message: %s' .PHP_EOL,$ex->getMessage());}
Please see ourDebugging guidefor more information about the debugging tools.
This component is considered GA (generally available). As such, it will not introduce backwards-incompatible changes inany minor or patch releases. We will address issues and requests with the highest priority.
- Understand theofficial documentation.
About
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.