Default Keys¶
Your default key is automatically created when you sign in or register, and it's always ready to use.
What is a Default Key?¶
Your default key is:
- Automatically created when you first sign in or register
- Always labeled "default"
- Ready to use immediately - no setup required
- Your primary key for signing documents
When is it Created?¶
For Registered Users¶
When you complete registration with WebAuthn: - Your account is created - A default key is automatically created - You can start signing documents right away
For Anonymous Users¶
When you sign in as "ANONYMOUS": - You're logged in immediately - A default key is automatically created - You can start using the app right away
Default Key Properties¶
Default keys have special characteristics:
- Label: Always "default"
- Type: EdDSA (Ed25519) cryptographic algorithm
- Format:
did:keyidentifier - Cannot be upgraded: Default keys cannot be bound to a
did:webDID - Cannot be deleted: Your default key is permanent
- Always present: Every user has exactly one default key
Using Your Default Key¶
Your default key works exactly like other keys:
- Sign documents: Use it to create proofs on any document
- Appears in proofs: Shows as the verification method in signed documents
- Can be selected: Choose it when creating proofs
- Shows in activity: All actions with your default key are logged
When to Use Default vs. Custom Keys¶
Use your default key for: - General document signing - Quick testing - Personal documents - Getting started
Create custom keys for: - Production use cases - Specific projects - Key rotation - Upgrading to use your DID
Limitations¶
The only limitation of default keys is:
- Cannot be upgraded: If you want to use your user DID, create a custom key and upgrade it
Everything else works the same as custom keys!
Related Topics¶
- Learn about creating additional keys
- Understand upgrading keys to use your DID