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...
This site provides you basic information on issues you might face regularly or commands that you need on day to day life. As an Author, I will be walking you though articles as i learn