Personal Access Token (PAT)


I would like my users to have the ability to generate PAT in order to access an API programmatically.
Is it possible with keycloak ?

There is no such thing in Keycloak. Try using a service account with the OIDC client_credentials grant type.

You could use oidc-agent to create oidc tokens and use them in scripts? That way you wouldn’t have to enter the account password every time you use the API.

1 Like

What a great tool. I had never heard of this before. Thank you @belfhi !