Most of the Companies adhere to password policy of 60-90 days . Tableau workbooks, Datasources and Flows needs to have the DB password updated adhering to the policy. I want to make an executable that makes easy to change the passwords. Here is the new Executable that helps to change the passwords in tableau objects. import tableauserverclient as TSC import argparse ,os, configparser, re from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter import logging import datetime CONFIGURATION_FILE="passwordconfig.txt" #configuration file name and path. #Copy the config file from the below #logmodule def create_logger(log_id): logger = logging.getLogger(log_id) logger.setLevel(logging.DEBUG) fh = logging.FileHandler(filename="passwordchangelog.txt") #log filename and its path fh.setLevel(logging.DEB...
Welcome to the Site! Here, you'll find practical tips, helpful commands, and simple solutions to everyday challenges. Whether it's a recurring issue or a quick command you often forget, this site aims to be your go-to resource. As I continue to learn, I’ll be sharing articles that break down each topic clearly—walking you through them one step at a time.