Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions kms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ These samples show how to use the [Google Cloud KMS API]
4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
Run `php composer.phar install` (if composer is installed locally) or `composer install`
(if composer is installed globally).
5. Run `php kms.php`. The following commands are available:

5. Run `php src/SNIPPET_NAME.php`. The usage will print for each if no arguments
are provided:
```sh
encryption Manage encryption for KMS
iam Manage IAM for KMS
key Manage keys for KMS
keyring Manage keyrings for KMS
version Manage key versions for KMS
$ php src/create_dataset.php
Usage: php src/list_keyrings.php PROJECT_ID LOCATION

$ php src/list_keyrings.php your-project-id us-west1
Name: projects/your-project-id/locations/us-west1/keyRings/your-test-keyring
Create Time: 2018-12-28 06:27:56
```
6. Run `php kms.php COMMAND --help` to print information about the usage of each command.

## Contributing changes

Expand Down
9 changes: 1 addition & 8 deletions kms/composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
{
"require": {
"google/apiclient": "^2.1",
"symfony/console": " ^3.0",
"symfony/event-dispatcher": "^3.3"
},
"autoload": {
"files": [
"src/functions.php"
]
"google/cloud-kms": "^0.4.3"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay for specific client libraries!

},
"require-dev": {
"phpunit/phpunit": "^5",
Expand Down
326 changes: 0 additions & 326 deletions kms/kms.php

This file was deleted.

Loading