Identities/Users

Identities/Users

Identities are essentially users you can create within your Hiphops project. We call them identities to distinguish them from human users that sign in to the Hiphops dashboard/site.

Identities can represent a machine (e.g. a customer’s kubernetes cluster) that needs access to your images, or an actual person.

Hiphops can generate JWTs for identities, which you can then distribute as needed. Identities do not have sign-in credentials.

Permissions in a project are granted by assigning roles to identities.

Creating an identity

  • Dashboard under Access > Manage users/identities > Create user.
  • API with POST /api/v1/iam/{project_id}/identities
  • Also a guided flow for creating identities with push/pull access is available on the Registry dashboard page under Pull an image or Push an image.

Deleting an identity

Listing identities in a project

Creating a JWT

Note: JWTs can optionally have an expiry after which that specific JWT becomes invalid. A JWT without an expiry is valid forever unless all JWTs for that identity are revoked.

Revoke all issued JWTs

Note: Revoking JWTs for an identity works by rotating its ID value. For this reason it is recommended that you do not store these IDs in external systems as references. Instead use the combination of identity.project_id and identity.name which is guaranteed to be unique and persistent unless you explicitly update it.