Very hacky -- in both a good sense and a bad sense.
Seems like there are tons of SaaS & cloud service offerings which could be overloaded to do this. Eg, why not just use resource Tags in AWS? they are key/value pairs. Or, why not put your key-values in a json file and store them as a GitHub workflow artifact? etc......