def GetUserSecretsManager(can_prompt=None):
 assert options.options.devbox, 'User secrets manager is only available in --devbox mode.'
 global _user_secrets_manager
 if (_user_secrets_manager is None):
  _user_secrets_manager = SecretsManager('user', options.options.domain, options.options.user_secrets_dir)
  prompt = (can_prompt if (can_prompt is not None) else sys.stderr.isatty())
  _user_secrets_manager.Init(can_prompt=prompt)
 return _user_secrets_manager

def GetUserSecretsManager ( can_prompt = None ) : assert options . options . devbox , 'User secrets manager is only available in --devbox mode.' global _user_secrets_manager if ( _user_secrets_manager is None ) : _user_secrets_manager = SecretsManager ( 'user' , options . options . domain , options . options . user_secrets_dir ) prompt = ( can_prompt if ( can_prompt is not None ) else sys . stderr . isatty ( ) ) _user_secrets_manager . Init ( can_prompt = prompt ) return _user_secrets_manager
returns the user secrets manager .