find_credential¶
-
gwdatafind.utils.
find_credential
()¶ Locate X509 certificate and key files.
This function checks the following paths in order:
${X509_USER_PROXY}
${X509_USER_CERT}
and${X509_USER_KEY}
/tmp/x509up_u${UID}
Returns: Raises: - RuntimeError
if not certificate files can be found, or if the files found on disk cannot be validtted.