Save username and pwd to hashicorp Vault

We have a scenario, where the admin creates username and pwd in Keycloak and these cred should also be stored in vault. The reason being, the pods in k8s cluster will fetch these credentials and access the application which has keyCloak as Identity Provider.So no manual intervention from admin to push these secrets in vault.