Functions | |
def | get_credentials (machine, authPath=None) |
def | get_credentials_for_schema (service, schema, role, authPath=None) |
def | get_credentials_from_file (machine, authPath) |
def | netrc_machine (service, role) |
Variables | |
string | admin_role = 'admin' |
string | authPathEnvVar = 'COND_AUTH_PATH' |
string | dbkey_filename = 'db.key' |
dbkey_folder = os.path.join('.cms_cond',dbkey_filename) | |
string | defAuthPathEnvVar = 'HOME' |
string | netrcFileName = '.netrc' |
string | reader_role = 'reader' |
string | writer_role = 'writer' |
def credentials.get_credentials | ( | machine, | |
authPath = None |
|||
) |
Definition at line 26 of file credentials.py.
References get_credentials_from_file().
Referenced by db_credentials.get_db_credentials().
def credentials.get_credentials_for_schema | ( | service, | |
schema, | |||
role, | |||
authPath = None |
|||
) |
Definition at line 37 of file credentials.py.
def credentials.get_credentials_from_file | ( | machine, | |
authPath | |||
) |
Definition at line 19 of file credentials.py.
Referenced by get_credentials().
def credentials.netrc_machine | ( | service, | |
role | |||
) |
Definition at line 16 of file credentials.py.
string credentials.admin_role = 'admin' |
Definition at line 14 of file credentials.py.
string credentials.authPathEnvVar = 'COND_AUTH_PATH' |
Definition at line 7 of file credentials.py.
string credentials.dbkey_filename = 'db.key' |
Definition at line 9 of file credentials.py.
credentials.dbkey_folder = os.path.join('.cms_cond',dbkey_filename) |
Definition at line 10 of file credentials.py.
string credentials.defAuthPathEnvVar = 'HOME' |
Definition at line 6 of file credentials.py.
string credentials.netrcFileName = '.netrc' |
Definition at line 5 of file credentials.py.
string credentials.reader_role = 'reader' |
Definition at line 12 of file credentials.py.
string credentials.writer_role = 'writer' |
Definition at line 13 of file credentials.py.