There is a group of secret applications that need to log in only once (SSO), after which the data and keys to communicate with the server will be transferred between them (the keys are now stored in the KeyStore). C Data is more or less clear. as a ContentProvider variant with securityLevel = "signature". But how to implement KeyChain for android 8+? In github there is an example of using KeyChain but it is already 5 years old. How much is it relevant with the latest changes regarding the Service in android?
UPD: KeyChain is not suitable as the login must occur without interaction with the user to install KeyChain. The android will display a dialog with a password request and a list of the contents of KeyChain to the user.