Esempio n. 1
0
 def delete_credential(cred_name):
     """Delete a credential."""
     cdb.remove_credential(TENANT, cred_name)
Esempio n. 2
0
 def _remove_credential(self, db_cred):
     """Removes a credential from the database."""
     return network_db_v2.remove_credential(db_cred.tenant_id,
                                            db_cred.credential_id)
Esempio n. 3
0
 def delete_credential(cred_name):
     """Delete a credential."""
     cdb.remove_credential(TENANT, cred_name)
Esempio n. 4
0
 def _remove_credential(self, db_cred):
     """Removes a credential from the database."""
     return network_db_v2.remove_credential(db_cred.tenant_id,
                                            db_cred.credential_id)