vaultmanager/modules/VaultManagerSecret.py
def secret_push(self):
        """
        Push secrets engines configuration to Vault
        """
        self.logger.info("Pushing secret engines to Vault")
        self.read_configuration()
        self.get_distant_secrets_engines()
        self.get_local_secrets_engines()
        for secret_engine in self.local_secrets_engines:
            if secret_engine in self.distant_secrets_engines:
                self.logger.debug("Secret engine remaining unchanged " +
                                  str(secret_engine))
        if "secret-engines-deletion" in self.conf and \
                self.conf["secret-engines-deletion"]:
            self.disable_distant_secrets_engines()
        self.enable_distant_secrets_engines()
        self.get_distant_secrets_engines()
        self.logger.info("Secrets engines successfully pushed to Vault")
        self.logger.info("Tuning secrets engines")
        self.find_secrets_engines_to_tune()
        self.logger.info("Secret engines successfully tuned")

        Push secrets engines configuration to Vault
        
Push secrets engines configuration to Vault
Push secrets engines configuration to Vault
def secret_push(self):
        self.logger.info("Pushing secret engines to Vault")
        self.read_configuration()
        self.get_distant_secrets_engines()
        self.get_local_secrets_engines()
        for secret_engine in self.local_secrets_engines:
            if secret_engine in self.distant_secrets_engines:
                self.logger.debug("Secret engine remaining unchanged " +
                                  str(secret_engine))
        if "secret-engines-deletion" in self.conf and \
                self.conf["secret-engines-deletion"]:
            self.disable_distant_secrets_engines()
        self.enable_distant_secrets_engines()
        self.get_distant_secrets_engines()
        self.logger.info("Secrets engines successfully pushed to Vault")
        self.logger.info("Tuning secrets engines")
        self.find_secrets_engines_to_tune()
        self.logger.info("Secret engines successfully tuned")
def secret_push ( self ) : self . logger . info ( "Pushing secret engines to Vault" ) self . read_configuration ( ) self . get_distant_secrets_engines ( ) self . get_local_secrets_engines ( ) for secret_engine in self . local_secrets_engines : if secret_engine in self . distant_secrets_engines : self . logger . debug ( "Secret engine remaining unchanged " + str ( secret_engine ) ) if "secret-engines-deletion" in self . conf and self . conf [ "secret-engines-deletion" ] : self . disable_distant_secrets_engines ( ) self . enable_distant_secrets_engines ( ) self . get_distant_secrets_engines ( ) self . logger . info ( "Secrets engines successfully pushed to Vault" ) self . logger . info ( "Tuning secrets engines" ) self . find_secrets_engines_to_tune ( ) self . logger . info ( "Secret engines successfully tuned" )
Push secrets engines configuration to Vault
Push secrets engines configuration to Vault
"""
        Push secrets engines configuration to Vault
        """
self