Attending this event?
Back To Schedule
Friday, January 28 • 10:30am - 10:55am
Securing Command Line Applications with Keycloak

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Command Line Interfaces aren’t the regular form of user interface encountered in everyday consumer products. CLIs can be used for functionalities that don’t require authentication like version control systems and ones that interact with services that require authentication including heroku, azure, etc.

Keycloak is an open source tool for identity and access management. It provides lots of features including support for three protocols - OpenID Connect, OAuth 2.0 and SAML 2.0 as well as a number of third party services such as Google, GitHub, Facebook, and Twitter. While it is common to see web apps integrated with keycloak, securing CLIs using keycloak is something rarely talked about and has a lot of scope for standardization.

In this session we are going to discuss the correct approach to secure CLIs with keycloak, storing of access tokens and laying out proper error messages for various common authentication/authorization issues that tend to spring up. We will also walkthrough the integration of a simple CLI app with keycloak.

Session chairs: Lubomir Terifaj and Michal Ruprich


Ramakrishna Pattnaik

Associate Software Engineer, Red Hat
MERN developer. Love building stuff!

Friday January 28, 2022 10:30am - 10:55am CET
Session Room 3