def METHOD_NAME(self):
    # Instantiate a ShareServiceClient using a connection string
    # [START generate_sas_token]
    from azure.storage.fileshare import ShareServiceClient
    share_service_client = ShareServiceClient.from_connection_string(self.connection_string)
    # Create a SAS token to use to authenticate a new client
    from azure.storage.fileshare import generate_account_sas, ResourceTypes, AccountSasPermissions
    sas_token = generate_account_sas(
        self.account_name,
        self.access_key,
        resource_types=ResourceTypes(service=True),
        permission=AccountSasPermissions(read=True),
        expiry=datetime.utcnow() + timedelta(hours=1)
    )
    # [END generate_sas_token]