def revoke_certs_by_project(project_id):
    # NOTE(vish): This is somewhat useless because we can just shut down
    #             the vpn.
    admin = context.get_admin_context()
    for cert in db.certificate_get_all_by_project(admin, project_id):
        revoke_cert(cert['project_id'], cert['file_name'])
Uploads a volume uuid/passphrase pair with metadata.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/crypto.py/revoke_certs_by_project--crossover with--dataset/ETHPy150Open google/cauliflowervest/src/cauliflowervest/client/base_client.py/CauliflowerVestClient.UploadPassphrase