Acquire.Service._get_service_account_bucket module

get_service_account_bucket(testing_dir=None)[source]

This function logs into the object store account of the service account. Accessing the object store means being able to access all resources and which can authorise the creation of access all resources on the object store. Obviously this is a powerful account, so only log into it if you need it!!!

The login information should not be put into a public repository or stored in plain text. In this case, the login information is held in an environment variable (which should be encrypted or hidden in some way…)

push_testing_objstore(testing_dir)[source]

Function used in testing to push a new object store onto the stack

pop_testing_objstore()[source]

Function used in testing to pop an object store from the stack

clear_login_cache()[source]

Call to clear the login cache