CMS 3D CMS Logo

Namespaces | Functions | Variables
credentials.py File Reference

Go to the source code of this file.

Namespaces

 credentials
 

Functions

def credentials.get_credentials (machine, authPath=None)
 
def credentials.get_credentials_for_schema (service, schema, role, authPath=None)
 
def credentials.get_credentials_from_file (machine, authPath)
 
def credentials.netrc_machine (service, role)
 

Variables

string credentials.admin_role = 'admin'
 
string credentials.authPathEnvVar = 'COND_AUTH_PATH'
 
string credentials.dbkey_filename = 'db.key'
 
 credentials.dbkey_folder = os.path.join('.cms_cond',dbkey_filename)
 
string credentials.defAuthPathEnvVar = 'HOME'
 
string credentials.netrcFileName = '.netrc'
 
string credentials.reader_role = 'reader'
 
string credentials.writer_role = 'writer'