MCPcopy
hub / github.com/diffgram/diffgram / set_azure_credentials

Method set_azure_credentials

install.py:433–451  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

431 self.is_aws_signature_v4 = False
432
433 def set_azure_credentials(self):
434 # Ask For Access Key ID
435 is_valid = False
436 self.use_docker_minio = False
437 while not is_valid:
438 azure_connection_string = bcolors.inputcolor('Please provide the Azure Connection String: ')
439 if azure_connection_string == '':
440 print('Please a enter a valid value.')
441 continue
442 else:
443 self.azure_connection_string = azure_connection_string
444 is_valid = True
445
446 # Ask for bucket name
447 bucket_name = bcolors.inputcolor('Please provide the Azure Container Name [Default is diffgram-storage]: ')
448 if bucket_name == '':
449 self.bucket_name = 'diffgram-storage'
450 else:
451 self.bucket_name = bucket_name
452
453 def gen_install_finger_print(self):
454 # Installation Fingeprint

Callers 1

installMethod · 0.95

Calls 1

inputcolorMethod · 0.80

Tested by

no test coverage detected