Skip to content

Commit

Permalink
add table of options
Browse files Browse the repository at this point in the history
  • Loading branch information
salrashid123 committed Jun 5, 2024
1 parent 43f05b5 commit 4bb6cde
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,22 @@ as an side, you can also embed AWS credentials to hardware:
---

### Configuration Options

You can set the following options on usage:

| Option | Description |
|:------------|-------------|
| **`--tpm-path`** | path to the TPM device (default: `/dev/tpm0`) |
| **`--persistentHandle`** | Persistent Handle for the HMAC key (default: `0x81010002`) |
| **`--keyfilepath`** | Path to the TPM HMAC credential file (default: ``) |
| **`--svcAccountEmail`** | (required) Service Account Email |
| **`--parentPass`** | Passphrase for the owner handle (will use TPM_PARENT_AUTH env var) |
| **`--keyPass`** | Passphrase for the key handle (will use TPM_KEY_AUTH env var) |
| **`--pcrs`** | "PCR Bound value (increasing order, comma separated)" |
| **`--scopes`** | "comma separated scopes (default `https://www.googleapis.com/auth/cloud-platform`)" |
| **`--tpm-session-encrypt-with-name`** | hex encoded TPM object 'name' to use with an encrypted session |

### Setup

since we're importing an external RSA key _into_ a TPM, we'll need a service account json file.
Expand Down

0 comments on commit 4bb6cde

Please sign in to comment.