vaultmanager/lib/VaultClient.py
def auth_approle_list(self, mount_point):
        """
        Fetch the list of roles at mount point

        :param mount_point: approle auth mount point
        :type mount_point: str

        :return: dict
        """
        self.logger.debug("Listing roles at " + mount_point)
        if not self.dry_run():
            try:
                raw_roles = self.vault_client.list_roles(mount_point)
            except hvac.exceptions.InvalidPath:
                return []
            return raw_roles['data']['keys']
        return {}

        Fetch the list of roles at mount point

        :param mount_point: approle auth mount point
        :type mount_point: str

        :return: dict
        
Fetch the list of roles at mount point
Fetch the list of roles at mount point
def auth_approle_list(self, mount_point):
        self.logger.debug("Listing roles at " + mount_point)
        if not self.dry_run():
            try:
                raw_roles = self.vault_client.list_roles(mount_point)
            except hvac.exceptions.InvalidPath:
                return []
            return raw_roles['data']['keys']
        return {}
def auth_approle_list ( self , mount_point ) : self . logger . debug ( "Listing roles at " + mount_point ) if not self . dry_run ( ) : try : raw_roles = self . vault_client . list_roles ( mount_point ) except hvac . exceptions . InvalidPath : return [ ] return raw_roles [ 'data' ] [ 'keys' ] return { }
Fetch the list of roles at mount point
Fetch the list of roles at mount point
"""
        Fetch the list of roles at mount point

        :param mount_point: approle auth mount point
        :type mount_point: str

        :return: dict
        """
None
self
mount_point
approle auth mount point
approle auth mount point