EQTY LabDocs

Initialize Key Guardian

Create the first account, choose key custody and generate the Guardian root key.

View as Markdown

A new Key Guardian has no accounts and no root key, and releases nothing until an administrator initializes it. It takes about two minutes.

1. Create the first account

Open the console and select Create one under the sign-in form. Usernames are 4 to 20 characters. After you register, sign in.

The Create an account form

The first account is the administrator. Until Google sign-in is configured, anyone who can reach the console can register. New accounts see only the instances they create or that are shared with them, but if you don’t want self-registration, configure Google sign-in or keep the console off public networks.

2. Choose key custody

After you sign in, Key Guardian opens Initialize Key Guardian. Everything it stores is encrypted with one data key, and this step chooses what protects that key.

Setup step 1: Key custody

Software key is already set up from ENCRYPTION_KEY. It’s enough to start with, so select Continue. You can add a YubiHSM 2 or Azure Key Vault now or later. See Key custody.

3. Generate the root key

The Guardian root key signs attestation tokens and certifies TPMs and Macs.

Setup step 2: Root key

Enter a display name and certificate CN, and pick the signing curve. Choose secp256r1 / NIST P-256 unless you have a reason not to: most JOSE libraries, TLS stacks and Apple devices support it. Pick secp256k1 only for verifiers from the blockchain world. You can’t change the curve later without a factory reset.

Select Generate root key.

4. Record the fingerprint

The Guardian is initialized, showing the root key fingerprint

Write down the root key’s SHA-256 fingerprint, then select Go to dashboard. Verifiers fetch the root’s public key from https://<your Key Guardian>/setup/jwks.json.

Next

Create an instance and add a secret.