INNER CODE UNIT · Python

configuration_wizard

CERT-Polska/karton · karton/core/main.py:44

def configuration_wizard(config_filename: str) -> None:
    config = ConfigParser()

    log.info("Configuring s3")
    s3_access_key = "minioadmin"
    s3_secret_key = "minioadmin"
    s3_address = "http://localhost:9000"
    s3_bucket = "karton"
    while True:
        s3_access_key = get_user_option(
            "Enter the S3 access key", default=s3_access_key
        )
        s3_secret_key = get_user_option(
            "Enter the S3 secret key", default=s3_secret_key
        )
        s3_address = get_user_option("Enter the S3 address", default=s3_address)
        s3_bucket = get_user_option("Enter the S3 bucket to use", default=s3_bucket)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…