Skip to content

Commit bc75ef6

Browse files
committed
update README.md
1 parent 83b61ba commit bc75ef6

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

terraform-hpvs/sample-paynow/README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
## Contract generation example for the Paynow sample application
1+
## Contract generation example for the PayNow sample application
22

33
This sample creates an encrypted and signed contract and stores it locally in a file. You can later use the contract to provision a HPVS for VPC instance.
44
The contract will define the container image, the container registry and the credentials for pulling your workload container image, as well as a server certificate and server key.
55

6+
For more information, see this [tutorial](https://cloud.ibm.com/docs/vpc?topic=vpc-financial-transaction-confidential-computing-on-hyper-protect-virtual-server-for-vpc) and the [PayNow sample application](https://github.com/ibm-hyper-protect/paynow-website).
7+
68
### Prerequisite
79

810
Prepare your local environment according to [these steps](../README.md)
@@ -17,12 +19,10 @@ Define your settings:
1719
- registry: The container registry where the workload container image is pulled from, e.g. `us.icr.io`
1820
- pull_username: The container registry username for pulling your workload container image
1921
- pull_password: The container registry password for pulling your workload container image
20-
- server_cert: The base64-encoded server certificate
21-
- server_key: The base64-encoded server key"
22-
23-
The settings are defined in form of Terraform variables.
22+
- server_cert: The base64-encoded SSL server certificate
23+
- server_key: The base64-encoded SSL server key
2424

25-
Define the variables in a template file:
25+
The settings are defined in form of Terraform variables in a template file:
2626

2727
1. `cp my-settings.auto.tfvars-template my-settings.auto.tfvars`
2828
2. Fill the values in `my-settings.auto.tfvars`
@@ -39,6 +39,3 @@ terraform apply
3939
The contract will be written to the file `build/contract.yml` and can now be used for e.g. provisining a HPVS for VPC instance.
4040

4141
Note that you will need to create a public gateway in your VPC before creating the HPVS for VPC instance. This is necessary to allow the HPVS for VPC instance to reach your Log instance through the public gateway. Also assign a floating IP to your HPVS for VPC instance.
42-
43-
See this [repository](https://github.com/ibm-hyper-protect/paynow-website) for a description and the source code of the Paynow sample application.
44-

0 commit comments

Comments
 (0)