Is it possible to write key/value pairs from spring boot application

As the title suggests, is it possible to write KV pairs from a spring boot application to consul and then retrieve those as needed?

I know I can retrieve them using the consul-config dependency along with configuration-processor dependency and then use @ConfigurationProperties(prefix = “path.to.key”), but I would also like to write to consul.

Thanks in advance!