Get settings from Required Action

Hi there,

We are building an Authenticator for Keycloak.
We need to do initial setup to save some credentials for the authenticator (automatically, no user input needed).
After this we need to access this credentials from Required Actions and the Authenticator.
What is the way to go?

My idea was:
Check for the credentials at the beginning of requiredActionChallenge() and authenticate() and do the setup if not existing.
But how can I access the authenticator config from the requiredAction?

Thanks in advance,
Kind regards,

techmo