vaultmanager/modules/VaultManagerKV.py
def run_kv_search(self):
        """
        Prepares a CLI run of kv_search
        """
        self.logger.debug("Preparing run of kv_search")
        missing_args = utils.keys_exists_in_dict(
            self.logger, self.kwargs,
            [{"key": "vault_addr", "exc": [None, '']},
             {"key": "vault_token", "exc": [None, False]}]
        )
        if len(missing_args):
            raise ValueError(
                "Following arguments are missing %s" %
                [k['key'].replace("_", "-") for k in missing_args]
            )
        self.kv_search(
            self.kwargs["vault_addr"],
            self.kwargs["vault_token"],
            self.kwargs["search"],
            self.kwargs["include"] if self.kwargs["include"] else [],
            self.kwargs["exclude"] if self.kwargs["exclude"] else []
        )

        Prepares a CLI run of kv_search
        
Prepares a CLI run of kv_search
Prepares a CLI run of kv_search
def run_kv_search(self):
        self.logger.debug("Preparing run of kv_search")
        missing_args = utils.keys_exists_in_dict(
            self.logger, self.kwargs,
            [{"key": "vault_addr", "exc": [None, '']},
             {"key": "vault_token", "exc": [None, False]}]
        )
        if len(missing_args):
            raise ValueError(
                "Following arguments are missing %s" %
                [k['key'].replace("_", "-") for k in missing_args]
            )
        self.kv_search(
            self.kwargs["vault_addr"],
            self.kwargs["vault_token"],
            self.kwargs["search"],
            self.kwargs["include"] if self.kwargs["include"] else [],
            self.kwargs["exclude"] if self.kwargs["exclude"] else []
        )
def run_kv_search ( self ) : self . logger . debug ( "Preparing run of kv_search" ) missing_args = utils . keys_exists_in_dict ( self . logger , self . kwargs , [ { "key" : "vault_addr" , "exc" : [ None , '' ] } , { "key" : "vault_token" , "exc" : [ None , False ] } ] ) if len ( missing_args ) : raise ValueError ( "Following arguments are missing %s" % [ k [ 'key' ] . replace ( "_" , "-" ) for k in missing_args ] ) self . kv_search ( self . kwargs [ "vault_addr" ] , self . kwargs [ "vault_token" ] , self . kwargs [ "search" ] , self . kwargs [ "include" ] if self . kwargs [ "include" ] else [ ] , self . kwargs [ "exclude" ] if self . kwargs [ "exclude" ] else [ ] )
Prepares a CLI run of kv_search
Prepares a CLI run of kv_search
"""
        Prepares a CLI run of kv_search
        """
self