Creating a service account
Step-by-step guide to create a service account and assign permissions
How service accounts work
- Keypair: You generate an asymmetric keypair. The public key is registered with Dfns, and you keep the private key to sign requests.
- Token: When you create the service account, you receive an authentication token for the
Authorizationheader. - Permissions: A service account inherits all permissions from the user who creates it. You can scope down its permissions after creation, or limit it to a single permission at creation time by passing a
permissionId.
Dfns recommends using services like AWS Secrets Manager or comparable services on other cloud platforms to securely store and manage the private key and authentication tokens.
