Skip to content

Commit 4ebd4c3

Browse files
DazWilkinJon Wayne Parrott
authored andcommitted
codeblocks were generated incorrectly (GoogleCloudPlatform#864)
1 parent 4626312 commit 4ebd4c3

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

iap/README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,20 @@ These samples are used on the following documentation pages:
2929

3030
1. Enable the IAM API on your project.
3131
2. Create a VM with the IAM scope:
32-
```gcloud compute instances create INSTANCE_NAME
33-
--scopes=https://www.googleapis.com/auth/iam```
32+
```
33+
gcloud compute instances create INSTANCE_NAME
34+
--scopes=https://www.googleapis.com/auth/iam
35+
```
3436
3. Give your VM's default service account the `Service Account Actor` role:
35-
```gcloud projects add-iam-policy-binding PROJET_ID
37+
```
38+
gcloud projects add-iam-policy-binding PROJET_ID
3639
--role=roles/iam.serviceAccountActor
37-
--member=serviceAccount:SERVICE_ACCOUNT```
40+
--member=serviceAccount:SERVICE_ACCOUNT
41+
```
3842
4. Install the libraries listed in `requirements.txt`, e.g. by running:
39-
```virtualenv/bin/pip install -r requirements.txt```
43+
```
44+
virtualenv/bin/pip install -r requirements.txt
45+
```
4046
5. Copy `make_iap_request.py` into your application.
4147

4248
### Using a downloaded service account private key
@@ -47,7 +53,9 @@ These samples are used on the following documentation pages:
4753
2. Set the environment variable `GOOGLE_APPLICATION_CREDENTIALS` to the path
4854
to your service account's `.json` file.
4955
3. Install the libraries listed in `requirements.txt`, e.g. by running:
50-
```virtualenv/bin/pip install -r requirements.txt```
56+
```
57+
virtualenv/bin/pip install -r requirements.txt
58+
```
5159
4. Copy `make_iap_request.py` into your application.
5260

5361
If you prefer to manage service account credentials manually, this method can
@@ -64,7 +72,9 @@ of how to do this.)
6472
For all other environments:
6573

6674
1. Install the libraries listed in `requirements.txt`, e.g. by running:
67-
```virtualenv/bin/pip install -r requirements.txt```
75+
```
76+
virtualenv/bin/pip install -r requirements.txt
77+
```
6878
2. Copy `validate_jwt.py` into your application.
6979

7080
## Running Tests

0 commit comments

Comments
 (0)