Use Configuration.getKeys()