def get_prefixed_tag(prefix:str, target_key) -> list:
    """
    Return all the tags on a key with the given prefix
    """

    output = []

    for tag in target_key.getTags():
        if tag.startswith(prefix):
            output.append(tag)

    return output