Skip to content

Commit 93250f9

Browse files
committed
English improvements in READMEs
1 parent 6a18883 commit 93250f9

File tree

4 files changed

+140
-143
lines changed

4 files changed

+140
-143
lines changed

.env.example

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# ENVIRONMENT SETUP FOR: ./docs/AWS_API_GATEWAY_EXAMPLE.md
33
#
44
# * Copy `.env.example` to `.env`
5-
# * Adjust the values on `.env`
5+
# * Adjust the values in `.env`
66
# * Export the `.env` file to the environment with:
7-
# `export $(grep -v '^#' .env | xargs -0)`
7+
# `source .env`
88
#
99
################################################################################
1010

@@ -18,16 +18,16 @@
1818
# * Nodejs - DEBUG, INFO, WARN or ERROR
1919
#
2020
# Will default to ERROR when no value is provided
21-
LAMBDA_LOG_LEVEL=DEBUG
21+
export LAMBDA_LOG_LEVEL=DEBUG
2222

2323
# Recommend only for development and testing proposes. For production follow the
2424
# recommendations in the quickstart.
2525
# The dummy secret for testing: /docs/AWS_API_GATEWAY_EXAMPLE.md#prepare-the-env-file
26-
APPROOV_BASE64_SECRET=___YOUR_BASE64_SECRET_HERE___
26+
export APPROOV_BASE64_SECRET=___YOUR_BASE64_SECRET_HERE___
2727

2828
# Supports `AWS_SECRET_MANAGER` or `ENV_VAR`
2929
# Will default to AWS_SECRET_MANAGER when no value is provided
30-
APPROOV_BASE64_SECRET_STORAGE=ENV_VAR
30+
export APPROOV_BASE64_SECRET_STORAGE=ENV_VAR
3131

3232

3333
################################################################################
@@ -38,13 +38,14 @@ APPROOV_BASE64_SECRET_STORAGE=ENV_VAR
3838
# For example it will be used to tag the docker image, to create IAM roles, etc.
3939
# The prefix is optional, but can be handy later for cleanup proposes, e.g: be
4040
# able to identify all the resources created to follow the quickstart.
41-
PREFIX=username_or_whatever
41+
export PREFIX=aproov_quickstart
4242

43-
# Supports python and nodejs
44-
LAMBDA_LANG=python
43+
# Select either "python" or "nodejs"
44+
export LAMBDA_LANG=python
4545

46-
# You may want use the same value you have at `~/.aws/config`
47-
AWS_REGION=___YOUR_AWS_REGION_HERE___
46+
# Specify the region in which you want to create resources
47+
export AWS_REGION=___YOUR_AWS_REGION_HERE___
4848

49-
# MUST be the same you use to login into the AWS Web Console, but cannot be the alias.
50-
AWS_ACCOUNT_ID=___YOUR_ACCOUNT_ID_HERE___
49+
# Set the env var holding the AWS account number. The provided command extracts
50+
# the number for the active AWS credentials.
51+
export AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You can learn more about Approov, the motives for adopting it, and more detail o
3232

3333
## How it works?
3434

35-
This is a brief overview of how the Approov cloud service and the AWS API Gateway fit together from a backend perspective. For a complete overview of how the mobile app and backend fit together with the Approov cloud service and the Approov SDK we recommend to read the [Approov overview](https://approov.io/product) page on our website.
35+
This is a brief overview of how the Approov cloud service and the AWS API Gateway fit together from a backend perspective. For a complete overview of how the mobile app and backend fit together with the Approov cloud service and the Approov SDK we recommend that you read the [Approov overview](https://approov.io/product) page on our website.
3636

3737
### Approov Cloud Service
3838

@@ -41,11 +41,11 @@ The Approov cloud service attests that a device is running a legitimate and tamp
4141
* If the integrity check passes then a valid token is returned to the mobile app
4242
* If the integrity check fails then a legitimate looking token will be returned
4343

44-
In either case, the app, unaware of the token's validity, adds it to every request it makes to the Approov protected API(s).
44+
In either case, the app, unaware of the token's validity, adds it to every request it makes to Approov protected API(s).
4545

4646
### AWS API Gateway
4747

48-
The AWS API Gateway ensures that the token supplied in the `Approov-Token` header is present and valid. The validation is done by using a shared secret known only to the Approov cloud service and the AWS API Gateway.
48+
This quick start shows you how to setup AWS API Gateway to ensure that the token supplied in the `Approov-Token` header is present and valid. The validation is done by using a shared secret known only to the Approov cloud service and your AWS API Gateway deployment.
4949

5050
The request is handled such that:
5151

@@ -62,9 +62,9 @@ The quickstart for the Approov integration with the AWS API Gateway gets you up
6262

6363
* [Approov token check quickstart](/docs/APPROOV_TOKEN_QUICKSTART.md)
6464

65-
Bear in mind that the quickstart assumes that you already have an AWS API Gateway running, and that your are familiar with managing it. If you are not familiar with the AWS API Gateway then you want to follow instead the step by step [AWS API Gateway Example](/docs/AWS_API_GATEWAY_EXAMPLE.md) to learn how to build one from scratch and integrate Approov on it.
65+
Please bear in mind that the quickstart assumes that you already have an AWS API Gateway running, and that you are familiar with the options for applying changes. If you are not familiar with the AWS API Gateway then you may want to follow the step by step [AWS API Gateway Example](/docs/AWS_API_GATEWAY_EXAMPLE.md) instead. This takes you though all the steps to get a new deployment with Approov protection from scratch.
6666

67-
If you need help to add Approov to the AWS API Gateway then please contact us [here](https://approov.io/contact).
67+
If you need further help adding Approov to your AWS API Gateway deployment then please contact us [here](https://approov.io/contact).
6868

6969

7070
## Useful Links

0 commit comments

Comments
 (0)