Hi,
I am trying to store credentials for a nologin user (like "jenkins"). I
would like to persist the credentials across sytem reboots.
I was reading about keyutils and i realized @u can link only to a
session specific keyring, (ie) it won't persist across reboots. Also, I
was reading about KEYCTL_GET_PERSISTENT(3), which requires me to invoke
C functions. Unfortunately, I'm working in python and I have the
freedom to use `subprocess` module to invoke shell scripts.
Is there a way to store/retrieve credentials in user-specific
persistent keyring and use it in python?
Regards,
Dinesh
Show replies by date