vaultmanager/lib/AuthMethods/AuthMethodAppRole.py
def add_roles(self):
        """
        Add roles from conf to Vault
        """
        for role in self.auth_config:
            if role not in self.distant_approles:
                self.logger.info("Adding role '%s' - %s to Vault" %
                                 (role, self.auth_config[role]))
                self.vault_client.auth_approle_create(
                    role, self.auth_config[role], self.mount_point
                )

        Add roles from conf to Vault
        
Add roles from conf to Vault
Add roles from conf to Vault
def add_roles(self):
        for role in self.auth_config:
            if role not in self.distant_approles:
                self.logger.info("Adding role '%s' - %s to Vault" %
                                 (role, self.auth_config[role]))
                self.vault_client.auth_approle_create(
                    role, self.auth_config[role], self.mount_point
                )
def add_roles ( self ) : for role in self . auth_config : if role not in self . distant_approles : self . logger . info ( "Adding role '%s' - %s to Vault" % ( role , self . auth_config [ role ] ) ) self . vault_client . auth_approle_create ( role , self . auth_config [ role ] , self . mount_point )
Add roles from conf to Vault
Add roles from conf to Vault
"""
        Add roles from conf to Vault
        """
self