Skip to content

Service identity

A service identity lets your instance authenticate itself to other services on the network. When a user’s PDS routes a request, it finds the destination by resolving the instance’s DID, so without a service identity, standard atproto service proxying can’t reach your instance.

HappyView can operate without a service identity using its built-in auth, but configuring one is recommended for full network compatibility.

HappyView supports three ways to establish a service identity during setup.

Your domain name becomes your identity. HappyView generates a signing keypair and serves a DID document at /.well-known/did.json automatically.

This is the simplest option, because it needs no external registration. The identity is tied to your domain: if you change domains, you’ll need to reconfigure.

HappyView registers a new identity in the PLC directory, a public registry that maps DIDs to their metadata. This is the most durable option: the identity survives domain changes because it isn’t tied to any single hostname.

During registration, HappyView generates two keypairs:

  • Signing key: Used to authenticate requests from your instance. HappyView stores it encrypted and manages it automatically.
  • Rotation key: Used to recover or update the identity if the signing key is lost or the instance goes down. This key is generated once and must be downloaded immediately, because it can’t be retrieved later.

Store the rotation key file somewhere safe and offline (e.g. a password manager, encrypted USB drive, or secure backup). You need it to move your identity to a new instance or recover from data loss.

Link your instance to an existing atproto account you control. HappyView verifies ownership by redirecting you to sign in through that account’s PDS, then uses the account’s existing DID as the service identity.

Domain (did:web)Network (did:plc)Linked account
Setup complexityAutomaticRequires key backupRequires existing account
Domain independenceNo, tied to your domainYes, survives domain changesDepends on the linked account
Key managementAutomaticYou must back up the rotation keyManaged by the linked account’s PDS
Best forSingle-domain instancesLong-lived production instancesOperators who already have an atproto presence

You can skip service identity configuration during setup. Your instance works with HappyView’s built-in authentication, but standard atproto service proxying isn’t available. You can configure a service identity later from System > Service Identity in the dashboard.