From a module, you can access the raw configuration of anything using the configuration manager, as described in workarounds here:
You'll need to know the resource type of the thing you're trying to read, and should encode a static reference to its type meta so you can safely decode it in a "safe" manner.