Skip to content

Commit

Permalink
Remove remaining mentions of IOTEDGE_USE_TPM_DEVICE env var. (Azure#1691
Browse files Browse the repository at this point in the history
)

The env var was removed in b5f281b but
these mentions of it in the docs were left behind.
  • Loading branch information
arsing authored Sep 10, 2019
1 parent 0a43fdb commit 937054a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
24 changes: 0 additions & 24 deletions edgelet/hsm-sys/README-TPM.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,29 +114,5 @@ $ ls -l /dev/tpm0
crw-rw---- 1 root iotedge 10, 224 May 31 15:13 /dev/tpm0
```
We also need to set a TPM environment variable in the service. To do that edit
the service settings and restart it.
```sh
# sudo systemctl edit iotedge.service
```
This will open up an overrides file. Save the following entries in the file:
```sh
[Service]
Environment=IOTEDGE_USE_TPM_DEVICE=ON
```
Verify the overrides
```sh
# sudo systemctl cat iotedge.service
```
Reload the settings
```sh
# sudo systemctl daemon-reload
```
The iotedged service is ready to run!
Other suggested reading:
[Create and provision a simulated TPM device using C device SDK for IoT Hub Device Provisioning Service](https://docs.microsoft.com/en-us/azure/iot-dps/quick-create-simulated-device)
4 changes: 0 additions & 4 deletions edgelet/hsm-sys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ used by the HSM-RS crate to provide more Rust-friendly interfaces.

## TPM functionality

The default hsm library built as part of this crate has two modes for the TPM functional interface:
an in-memory keystore, and a TPM device keystore. The default is the in-memory keystore. To enable
the TPM device keystore set an environment variable `IOTEDGE_USE_TPM_DEVICE` to "ON".

You may need additional setup for a TPM device see [README-TPM](README-TPM.md) for details.

## Memory allocation
Expand Down

0 comments on commit 937054a

Please sign in to comment.