vaultmanager/VaultManager.py
def fetch_argument_values(self):
        """
        Fetch arguments values from env vars if needed
        """
        self.logger.debug("Fetch arguments values")

        self.logger.debug("Fetch Vault address")
        self.parsed_arguments.vault_addr = utils.get_var_or_env(
            self.logger, self.parsed_arguments.vault_addr, "VAULT_ADDR"
        )

        self.logger.debug("Fetch Vault target address")
        self.parsed_arguments.vault_target_addr = utils.get_var_or_env(
            self.logger,
            self.parsed_arguments.vault_target_addr, "VAULT_TARGET_ADDR"
        )

        self.logger.debug("Fetch Vault config folder path")
        self.parsed_arguments.vault_config = utils.get_var_or_env(
            self.logger, self.parsed_arguments.vault_config, "VAULT_CONFIG"
        )

        self.logger.debug("Fetch Vault token")
        if self.parsed_arguments.vault_token:
            self.logger.debug("Asking for Vault token")
            self.parsed_arguments.vault_token = getpass.getpass("Vault token: ")
        else:
            self.parsed_arguments.vault_token = utils.get_var_or_env(
                self.logger, self.parsed_arguments.vault_token, "VAULT_TOKEN"
            )

        self.logger.debug("Fetch Vault target token")
        if self.parsed_arguments.vault_target_token:
            self.logger.debug("Asking for Vault target token")
            self.parsed_arguments.vault_target_token = getpass.getpass(
                "Vault target token: ")
        else:
            self.parsed_arguments.vault_target_token = utils.get_var_or_env(
                self.logger,
                self.parsed_arguments.vault_target_token, "VAULT_TARGET_TOKEN"
            )

        Fetch arguments values from env vars if needed
        
Fetch arguments values from env vars if needed
Fetch arguments values from env vars if needed
def fetch_argument_values(self):
        self.logger.debug("Fetch arguments values")
        self.logger.debug("Fetch Vault address")
        self.parsed_arguments.vault_addr = utils.get_var_or_env(
            self.logger, self.parsed_arguments.vault_addr, "VAULT_ADDR"
        )
        self.logger.debug("Fetch Vault target address")
        self.parsed_arguments.vault_target_addr = utils.get_var_or_env(
            self.logger,
            self.parsed_arguments.vault_target_addr, "VAULT_TARGET_ADDR"
        )
        self.logger.debug("Fetch Vault config folder path")
        self.parsed_arguments.vault_config = utils.get_var_or_env(
            self.logger, self.parsed_arguments.vault_config, "VAULT_CONFIG"
        )
        self.logger.debug("Fetch Vault token")
        if self.parsed_arguments.vault_token:
            self.logger.debug("Asking for Vault token")
            self.parsed_arguments.vault_token = getpass.getpass("Vault token: ")
        else:
            self.parsed_arguments.vault_token = utils.get_var_or_env(
                self.logger, self.parsed_arguments.vault_token, "VAULT_TOKEN"
            )
        self.logger.debug("Fetch Vault target token")
        if self.parsed_arguments.vault_target_token:
            self.logger.debug("Asking for Vault target token")
            self.parsed_arguments.vault_target_token = getpass.getpass(
                "Vault target token: ")
        else:
            self.parsed_arguments.vault_target_token = utils.get_var_or_env(
                self.logger,
                self.parsed_arguments.vault_target_token, "VAULT_TARGET_TOKEN"
            )
def fetch_argument_values ( self ) : self . logger . debug ( "Fetch arguments values" ) self . logger . debug ( "Fetch Vault address" ) self . parsed_arguments . vault_addr = utils . get_var_or_env ( self . logger , self . parsed_arguments . vault_addr , "VAULT_ADDR" ) self . logger . debug ( "Fetch Vault target address" ) self . parsed_arguments . vault_target_addr = utils . get_var_or_env ( self . logger , self . parsed_arguments . vault_target_addr , "VAULT_TARGET_ADDR" ) self . logger . debug ( "Fetch Vault config folder path" ) self . parsed_arguments . vault_config = utils . get_var_or_env ( self . logger , self . parsed_arguments . vault_config , "VAULT_CONFIG" ) self . logger . debug ( "Fetch Vault token" ) if self . parsed_arguments . vault_token : self . logger . debug ( "Asking for Vault token" ) self . parsed_arguments . vault_token = getpass . getpass ( "Vault token: " ) else : self . parsed_arguments . vault_token = utils . get_var_or_env ( self . logger , self . parsed_arguments . vault_token , "VAULT_TOKEN" ) self . logger . debug ( "Fetch Vault target token" ) if self . parsed_arguments . vault_target_token : self . logger . debug ( "Asking for Vault target token" ) self . parsed_arguments . vault_target_token = getpass . getpass ( "Vault target token: " ) else : self . parsed_arguments . vault_target_token = utils . get_var_or_env ( self . logger , self . parsed_arguments . vault_target_token , "VAULT_TARGET_TOKEN" )
Fetch arguments values from env vars if needed
Fetch arguments values from env vars if needed
"""
        Fetch arguments values from env vars if needed
        """
self