def set_password():
    """
    Set and validate the password
    :return: string
    """
    password = input('Enter your Oracle Commerce Cloud backend password: ')
    while True:
        if len(password) >= 3:
            return password
        else:
            password = input(
                'Enter your Oracle Commerce Cloud backend password: ')
