def key_str(self, match):
        ret = {}
        for status, keys in six.iteritems(self.name_match(match)):
            ret[status] = {}
            for key in salt.utils.isorted(keys):
                path = os.path.join(self.opts['pki_dir'], status, key)
                with salt.utils.fopen(path, 'r') as fp_:
                    ret[status][key] = fp_.read()
        return ret
Return the specified public key or keys based on a glob
dataset/ETHPy150Open saltstack/salt/salt/key.py/Key.key_str