Skip to main content

Add a role to Quorum Key Manager

You can define a role in a Quorum Key Manager (QKM) manifest file.

Use the following fields to configure one or more roles:

  • kind: string - the string Role
  • name: string - name of the role
  • specs: object - configuration object containing a list of permissions assigned to the role.
Example role manifest file
# Anonymous role manifest (specifies permissions for anonymous requests)
- kind: Role
name: anonymous
specs:
permissions:
- "read:nodes"

# Guest role manifest
- kind: Role
name: guest
specs:
permissions:
- "read:*"

# Signer role manifest
- kind: Role
name: signer
specs:
permissions:
- "read:*"
- "sign:keys"
- "sign:ethereum"

# Admin role manifest
- kind: Role
name: admin
specs:
permissions:
- "*:*"