| 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 |