Get the keys associated with this lease.

        :return:
199012
def keys(self):
        
        result = self.client.post(self.client.get_url("/kv/lease/timetolive"),
                                  json={"ID": self.id,
                                        "keys": True})
        keys = result['keys'] if 'keys' in result else []
        return [_decode(key) for key in keys]
887093
def get_keys(self):
        '''
        
        '''
        # Make sure all key parent directories are accessible
        user = self.opts.get('user', 'root')
        salt.utils.verify.check_path_traversal(self.opts['pki_dir'], user)

        if not os.path.exists(self.rsa_path):
            log.info('Generating keys: %s', self.opts['pki_dir'])
            gen_keys(self.opts['pki_dir'],
                     'minion',
                     self.opts['keysize'],
                     self.opts.get('user'))
        key = get_rsa_key(self.rsa_path, None)
        log.debug('Loaded minion key: %s', self.rsa_path)
        return key
487301
def keys(self):
        
        return GramGenerator(self.path, self.elem, keys=True,
                             ignore_hash=self.ignore_hash)
1262610
def get_keys_from_class(cc):
    
    return [prop.name for prop in cc.properties.values() \
            if 'key' in prop.qualifiers]
1094319
def private_keys(self):
        """"""
        return dict([(a, e) for a, e in self.entries.items()
                     if isinstance(e, PrivateKeyEntry)])
434861
def keys(self):
        """"""
        s = set()
        for config in self.__configs:
            s |= config.keys()
        return s
924580
def get_keys(self):
        
        return github.PaginatedList.PaginatedList(
            github.RepositoryKey.RepositoryKey,
            self._requester,
            self.url + "/keys",
            None
        )
1361865
def _key(self):
        
        return (
            self._name,
            self._field_type.upper(),
            self._mode.upper(),
            self._description,
            self._fields,
        )
687821
def properties(self) -> dict:
        
        if isinstance(self._last_node, dict):
            return self._last_node.keys()
        else:
            return {}
500780
def keys(self):
        
        k = list(dict.keys(self))
        k.sort()
        return k
888205
def public_keys(self):
        """"""
        if not self.public_keys_cache:
            conn = self.conn_factory()
            self.public_keys_cache = conn.export_public_keys(self.identities)
        return self.public_keys_cache
317350
def get_properties(attributes):
        
        return [key for key, value in six.iteritems(attributes)
                if isinstance(value, property)]
480694
def keys(self, start=None, stop=None):
        """"""
        return (item[0] for item in self.items(start, stop))
934502
def keys(self):
		
		if hasattr(self._nodes, 'iterkeys'):
			return self._nodes.keys()
		else:
			return tuple(self._nodes.keys())
1299704
def get_keys(self):
        
        return [(self.first_key + i) for i in range(0, len(self.targets))]
575166
def keys(self):
        
        if ver == (2, 7):
            return self.viewkeys()
        elif ver == (2, 6):
            return self.iterkeys()
        elif ver >= (3, 0):
            return self.keys()
567208
def data(self):
        
        d = {}
        for name in self.key_names:
            d[name] = self.__dict__.get(name, None)
        return d