Skip to content

Commit 1d9adab

Browse files
authored
Fix README instructions (GoogleCloudPlatform#317)
1 parent 4460bed commit 1d9adab

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

kms/api/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ These samples show how to use the [Google Cloud KMS API]
88
## Build and Run
99
1. **Enable APIs** - [Enable the KMS API](https://console.cloud.google.com/flows/enableapi?apiid=cloudkms.googleapis.com)
1010
and create a new project or select an existing project.
11-
2. **Download The Credentials** - Click "Go to credentials" after enabling the APIs. Click "Create Credentials"
12-
and select "API key". Copy the API key.
13-
3. **Clone the repo** and cd into this directory
14-
```
11+
2. **Activate your Credentials** - If you do not already have an active set of credentials, create and download a [JSON Service Account key](https://pantheon.corp.google.com/apis/credentials/serviceaccountkey). Set the environment variable `GOOGLE_APPLICATION_CREDENTIALS` as the path to the downloaded JSON file.
12+
4. **Clone the repo** and cd into this directory
13+
14+
```
1515
$ git clone https://github.com/GoogleCloudPlatform/php-docs-samples
1616
$ cd php-docs-samples/kms/api
1717
```
18-
4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
18+
5. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
1919
Run `php composer.phar install` (if composer is installed locally) or `composer install`
2020
(if composer is installed globally).
21-
5. Run `php kms.php`. The following commands are available:
21+
6. Run `php kms.php`. The following commands are available:
2222

2323
```sh
2424
encryption Manage encryption for KMS
@@ -27,7 +27,7 @@ These samples show how to use the [Google Cloud KMS API]
2727
keyring Manage keyrings for KMS
2828
version Manage key versions for KMS
2929
```
30-
6. Run `php kms.php COMMAND --help` to print information about the usage of each command.
30+
7. Run `php kms.php COMMAND --help` to print information about the usage of each command.
3131

3232
## Contributing changes
3333

0 commit comments

Comments
 (0)