You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the vTPM specification to the documentation, config.go, and
schema description. The following is an example of a vTPM description
that is found under the path /linux/resources/vtpms:
"vtpms": [
{
"statePath": "/var/run/runc/ubuntu/tpm12_1",
"vtpmVersion": "1.2",
"createCerts": false
}
]
Signed-off-by: Stefan Berger <[email protected]>
Copy file name to clipboardExpand all lines: config-linux.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -384,6 +384,30 @@ The following parameters can be specified to set up the controller:
384
384
}
385
385
```
386
386
387
+
### <aname="configLinuxVTPMs" />vTPMs
388
+
389
+
**`vtpms`** (array of objects, OPTIONAL) lists a number of emulated TPMs that will be made available to the container.
390
+
391
+
Each entry has the following structure:
392
+
393
+
***`statePath`***(string, REQUIRED)* - a directory for persisting vTPM state. This value MUST be an absolute path.
394
+
***`vtpmVersion`***(string, OPTIONAL)* - The version of TPM to emulate, either 1.2 or 2; default is 1.2.
395
+
***`createCerts`***(boolean, OPTIONAL)* - If true then create certificates for the vTPM, defaults to false.
396
+
397
+
The `statePath` MUST be unique per container. If the `vtpms` array contains duplicate entries with the same `statePath`, the runtime MUST generate an error.
0 commit comments