Reading and writing keycloak secrets to hashicorp vault using vault spi

I am currently working with a java identity service where I have created a customised vault (hashicorp) provider using the vault spi. The provider is integrated now, and I am able to see it in the provider list. Wanted to check how can I store keycloak secrets (like realm ids, ldap credentials, external tokens etc) into this vault. Have used this extension to add the vault