def job_binary_destroy(self, context, job_binary):

        # in cases where the credentials to access the job binary are
        # stored with the record and the external key manager is being
        # used, we need to delete the key from the external manager.
        if (CONF.use_barbican_key_manager and not
                CONF.use_domain_for_proxy_users):
            jb_record = self.job_binary_get(context, job_binary)
            if jb_record.get('extra') and jb_record['extra'].get('password'):
                key_manager.delete_secret(jb_record['extra']['password'],
                                          context)
        self.db.job_binary_destroy(context, job_binary)
Return information for the specified user
dataset/ETHPy150Open openstack/sahara/sahara/conductor/manager.py/ConductorManager.job_binary_destroy--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/win_shadow.py/info